add links in ckeditor

This commit is contained in:
azivner
2017-12-09 14:11:35 -05:00
parent 7ca043ebc6
commit d2a5921489
9 changed files with 18 additions and 45 deletions

View File

@@ -23,8 +23,6 @@ const noteEditor = (function() {
}
function noteChanged() {
console.log("CHANGED!!!");
if (noteChangeDisabled) {
return;
}
@@ -158,7 +156,7 @@ const noteEditor = (function() {
.then(edit => {
editor = edit;
editor.document.on('change', () => noteChanged);
editor.document.on('changesDone', noteChanged);
})
.catch(error => {
console.error(error);