Description
Currenlty,I am using quill's 1.2.6 version. I can able to set the contents as HTML in editor when it has been saved as Delta format. Now in my application I have in plain HTML text format content has been saved in database.
like "<p><em><span style="text-style:underline">Some text goes here</span></em></p>
" but, these contents are not rendering properly.
I have used "quill.clipboard.dangerouslyPasteHTML
" function which applies some internal matchers and removes original arbitrary HTML contents.
Like we have an option for Delta to HTML so is there any option or way to generate the Delta from provided HTML. There is one option to save the contents of the database that is Delta in JSON string format but, I can apply this to the new contents which are being created by using the quill editor, not for existing. Because existing contents are saved in plain HTML format.
Also, I have tried for quill.root.innerHTML
but it doesn't make any difference.