upgrade CKEditor to 1.0 beta.2, fixes #93

This commit is contained in:
azivner
2018-04-12 20:03:23 -04:00
parent 7a94e21c54
commit cdad18551a
5 changed files with 14 additions and 13 deletions

View File

@@ -11,11 +11,10 @@ async function show() {
textEditor = await BalloonEditor.create($noteDetailText[0], {});
textEditor.document.on('change', noteDetailService.noteChanged);
textEditor.model.document.on('change', noteDetailService.noteChanged);
}
// temporary workaround for https://github.com/ckeditor/ckeditor5-enter/issues/49
textEditor.setData(noteDetailService.getCurrentNote().content || "<p></p>");
textEditor.setData(noteDetailService.getCurrentNote().content);
$noteDetailText.show();
}