Sanitizing Pasted HTML Content
The Editor 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.