Hi, I cannot find how it's supposed to do this. I don't want to persist to Delta at the moment. Thanks
Previous discussion:
https://github.com/quilljs/quill/issues/903#issuecomment-243844178
As stated in the linked comment you can get the HTML with quill.root.innerHTML or document.querySelector(".ql-editor").innerHTML and to set it you can either have it already in the container before passing the container into Quill (like in the Quickstart) or use quill.clipboard.dangerouslyPasteHTML.
I want to store thequill.root.innerHTML in my database how can I do it??
Most helpful comment
As stated in the linked comment you can get the HTML with
quill.root.innerHTMLordocument.querySelector(".ql-editor").innerHTMLand to set it you can either have it already in the container before passing the container into Quill (like in the Quickstart) or usequill.clipboard.dangerouslyPasteHTML.