# Paste Cleanup

The [Angular Editor](https://www.telerik.com/kendo-angular-ui-develop/components/editor) provides options for cleaning up pasted HTML content.

This functionality allows for greater control over the entered content and ensures that its styling is consistent. Cleaning up the pasted HTML content is advisable when the user copies content from MS Word.

The Editor supports the following options for cleaning up pasted content:

* `convertMsLists`—If set to `true`, MS Word lists will be converted into HTML lists.
* `removeHtmlComments`—If set to `true`, comments will be removed from the HTML.
* `stripTags`—Specifies a list of tags that will be removed from the HTML.
* `removeAttributes`—Specifies the DOM attributes that have to be removed from the HTML.
* `removeMsClasses`—If set to `true`, class attributes starting with "Mso" will be removed from the HTML.
* `removeMsStyles`—If set to `true`, style attributes starting with "Mso" will be removed from the HTML.
* `removeInvalidHTML`—If set to `true`, invalid HTML will be removed.

The following example demonstrates how to clean up pasted content.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/editor/paste-cleanup/source.txt)

## Suggested Links

* [API Reference of the PasteCleanupSettings](https://www.telerik.com/kendo-angular-ui-develop/components/editor/api/pastecleanupsettings)
* [API Index of the Editor](https://www.telerik.com/kendo-angular-ui-develop/components/editor/api)
* [API Reference of the EditorComponent](https://www.telerik.com/kendo-angular-ui-develop/components/editor/api/editorcomponent)
* [Angular Editor](https://www.telerik.com/kendo-angular-ui/editor)
