One of the challenges I face with using the Quill Text Editor is that when I use the method clipboard.dangerouslyPasteHTML to paste HTML into the editor, it does not maintain custom CSS classes. For example:
let content= '<p class="perso-class">test</p>'; quill.clipboard.dangerouslyPasteHTML(content)
The editor contents end up showing as: <p>test</p>
, without preserving the custom class.
If you have any suggestions on how to address this issue, I would greatly appreciate your help!