This commit is contained in:
zadam
2019-05-04 14:34:03 +02:00
parent ff41904d72
commit 32439ed006
4 changed files with 8 additions and 10 deletions

View File

@@ -45,7 +45,7 @@ class NoteDetailText {
placeholder: "Type the content of your note here ..."
});
this.onNoteChange(noteDetailService.noteChanged);
this.onNoteChange(() => this.ctx.noteChanged());
}
}
@@ -86,7 +86,6 @@ class NoteDetailText {
this.textEditor.model.document.on('change:data', func);
}
cleanup() {
if (this.textEditor) {
this.textEditor.setData('');