I am trying to set content like this:
quill.setContents("<div class='r'>some text</div> ");
But it does not work. Please help.
assigning it to the innerHTML usually works. try this quill.root.innerHTML = "<div class='r'>Some text</div>";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With