Demo

Paste cleanup and sanitizing

Documented in HTML Sanitizer and Paste Cleanup.

Paste cleanup and sanitizing

RichTextEditor paste cleanup - Word and Google Docs clipboard HTML normalized in clean, keep, plain text and prompt modes, denied tags, keepWordFormatting, and the always-on sanitizer removing scripts, handlers and unsafe URLs with a restriction-only sanitize hook.

pasteCleanup

Paste below this line.

Editor HTML (after cleanup and sanitizing)
<p>Paste below this line.</p><p></p>
No events yet.