Quill.js removes tags like “DIV” and styles and classes
I am working on WYSIWIG editor, where I can update HTML in special popup and insert it back into Quill editor as a semantic HTML. The resulting HTML should be exactly like we edited. But when I try to change tags to “div”, they are turned to “p” and classes are removed.
How to create unique id on each block of quill editor?
I want to add a uniq id
to each p block
of quill editor.
Handling tables in quill
I’m trying to use tables with the Quill WYSIWYG editor. I’m trying to do it in the sandbox: https://quilljs.com/playground/snow . I’ve added ['table']
to the toolbar, so now it looks like this:
Solution for line break with BR tag after updating Quill to 2.0
After updating quill to 2.0 previous solution to line break stop working. I tried to apply and adopt many solutions available here for previous version with no success.
How to prevent Quill from switching to on ENTER in header mode?
I’m using the Quill 2.0.2 JavaScript library to edit content with different heading styles (h1
to h4
). Currently, when I’m typing with the h2
style and press ENTER, Quill switches to the “Normal” style (<p>
). Instead, I want it to switch to the h3
style.