Sanitizing Pasted HTML Content

The React Editor, part of KendoReact, exposes a set of built-in functions for sanitizing the content which the user pastes in the content area.

The sanitizing approaches improve the control over the entered content and ensure that its styling is consistent. Sanitizing the pasted HTML content is advisable when the user copies content from MS Word.

The following example demonstrates how to use and extend the built-in content sanitizing.

View Source
Change Theme:

In this article

Not finding the help you need?