diff --git a/public/javascripts/note_editor.js b/public/javascripts/note_editor.js index f4588892b..e086715e8 100644 --- a/public/javascripts/note_editor.js +++ b/public/javascripts/note_editor.js @@ -156,7 +156,7 @@ const noteEditor = (function() { .then(edit => { editor = edit; - editor.document.on('changesDone', noteChanged); + editor.document.on('change', noteChanged); }) .catch(error => { console.error(error);