Try Our Live Demo
Paste cleanup and formatting control in Rich Text Editor
Manage pasted content in the React Rich Text Editor with flexible paste cleanup options that preserve formatting, keep plain text, or remove unwanted styles to maintain clean and consistent content.

Keep format on paste
Keep Format retains supported text styles, tables, lists, and other formatting from pasted content. Formatting preservation is suitable when content from Word, webpages, or other editors needs to retain its source appearance.

Clean format on paste
Clean Format mode removes inline styles and selected HTML attributes while preserving supported structural elements such as headings, paragraphs, and lists. Cleaned content is suitable when material from webpages, emails, or other external sources needs to follow the editor’s formatting.

Plain text on paste
Plain Text mode removes HTML tags and styles from pasted content so only text is inserted into the editor. Text-only insertion is suitable when source formatting should not be retained.
See Why Developers Love Syncfusion
Our Customers Love Us
Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time. Here are some of their experiences.
Frequently Asked Questions
Can the Syncfusion React Rich Text Editor preserve formatting when pasting?
Yes. The React Rich Text Editor supports Keep Format behavior that retains supported styles, fonts, and content structure from the source. Retained formatting can also be controlled through the configured allowed styles, denied tags, and denied attributes.
Can paste behavior be configured in the Syncfusion React Rich Text Editor?
Yes. The React Rich Text Editor can display a paste prompt that lets users choose Keep, Clean, or Plain Text. Applications can also configure the default paste behavior through paste cleanup settings when the prompt is disabled.
Can specific HTML tags be blocked in the Syncfusion React Rich Text Editor?
Yes. The React Rich Text Editor can remove specified HTML tags and attributes from pasted content through paste cleanup settings. Applications can configure denied tags and attributes based on their content requirements.
Can the Syncfusion React Rich Text Editor strip formatting on paste?
Yes. The React Rich Text Editor provides Clean and Plain Text paste options. Clean removes inline styles while preserving supported structural elements such as paragraphs, lists, and tables. Plain Text removes HTML tags and styles so only text is inserted.
Which sources can be pasted into the Syncfusion React Rich Text Editor?
The React Rich Text Editor supports pasted content from Microsoft Word, Excel, webpages, and other editors. Paste Cleanup settings control how supported formatting, styles, tags, and attributes are handled during insertion.
Can the Syncfusion React Rich Text Editor keep document structure while removing formatting?
Yes. The React Rich Text Editor supports clean format paste cleanup that removes inline styles while preserving supported structural elements such as paragraphs, lists, and tables.
Resources
Learn more about our React Rich Text Editor
Explore demos, KB articles, and documentation to get the most out of the React Rich Text Editor.
Explore guides, APIs, and quick-start tips
See live use cases in action
Ask, share, and connect with peers
Find solutions and best practices fast
Get expert help when you need it
Feature requests and bug reports
Track issues and suggest improvements
Awards
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

