Skip to content
Advertisement

Tag: quill

Custom blot format in Quill not translating to HTML

I am setting up Quill to use as a rich text editor in a blog project. I have the editor working correctly and can store user posts in mongoDB, retrieve them later, and display them. My code for doing this involves grabbing the delta from quill, stringifying it, then encoding this as a URI. This is what is stored in

How do I retrieve the contents of a Quill text editor

I am using the quill text editor in a javascript app and I need to retrieve the contents of the text editor as a string with the HTML included but the docs are a little sparse on this subject. Answer Quite simply by accessing the editor’s innerHTML: Hope this helps!

Advertisement