mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
add links in ckeditor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user