Hi Team,
I’m using the Syncfusion Rich Text Editor in an Angular application. I want to clean pasted content such that it removes all styles, classes, and formatting — and leaves only clean HTML (e.g., <p>, <table>, <tr>, etc.).
To achieve this, I used pasteCleanupSettings with the "style" tag in the deniedTags array. However, when I do that, the pasted table structure breaks or loses its layout, and only the raw content remains (not visually structured as a table).
I also tried beforePasteCleanup, but I still need help figuring out the correct approach to clean unnecessary styles while preserving essential table layout and tags. Attached screenshot as well, when style attribute is denied, this is how table looks in editor.
Attachment:
Screenshot_(105)_ff9809bd.png