About Quill plug-in
About Quill plug-in
Hi,
I want to suggest a new comment for the Quill plug-in (can't post it my self : POST 403 Forbidden).
Here the comment :
If you want to render and save html, you should replace
get: function ( conf ) {
return conf._quill.getText();
},
set: function ( conf, val ) {
conf._quill.setText( val !== null ? val : '' );
},
by
get: function ( conf ) {
return conf._quill.root.innerHTML;
},
set: function ( conf, val ) {
conf._quill.root.innerHTML = val !== null ? val : '';
},
This question has an accepted answers - jump to answer
Answers
Hi,
Thank you for sharing this! I'll add a note into the plugin page, or possibly add a configuration option for it now that I think it over a bit. The plugins are all due for a bit of a tidy up!
Allan