I have a template that displays rich text data. When the user clicks on the edit, I turn the template into an editable Quill editor as follows:
'click #editNote': (e, t) ->
note = t.find '.container'
console.log note
basicEditor = new Quill(note)
Then, as soon as the user clicks on save, I want to disable the Quill editor. How can i do this?
source
share