slab / parchment

Generalized state model for rich-text editors to interface with browser DOM
BSD 3-Clause "New" or "Revised" License
628 stars 143 forks source link

How to set editor content with html style #104

Closed saminlu closed 3 years ago

saminlu commented 3 years ago

I have an issue,that how to set HTML content with style, the editor filter change to p tag and no style="" ,clipboard.dangerouslyPasteHTML doesn't work, what could I do?