I can't find any documentation that would let me toggle the readonly option. Is there such a thing?
Hello,
you can enable or disable your editor like this :
var basicEditor = new Quill('#basic-editor');
basicEditor.editor.disable();
basicEditor.editor.enable();
Ahah. Thanks! This should be documented though :smile:
:+1: should be made clear in the doc
Yes found the page already but no mention of editor.editor.enable or
editor.editor.disable
Le 17 juil. 2015 21:07, "Jason Chen" [email protected] a écrit :
http://quilljs.com/docs/configuration/
—
Reply to this email directly or view it on GitHub
https://github.com/quilljs/quill/issues/119#issuecomment-122375621.
Hello, it doen't work for me, has this changed? _this.quill.editor.disable is not a function
Hello, it doen't work for me, has this changed?
_this.quill.editor.disable is not a function
@karim10 If you've done something like var myEditor = newQuill('#editor, {...}) then doing myEditor.enable() or myEditor.disable() should work.
Most helpful comment
Hello,
you can enable or disable your editor like this :
var basicEditor = new Quill('#basic-editor');
basicEditor.editor.disable();
basicEditor.editor.enable();