mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
using change event instead of changesDone because the latter seems to trigger also on e.g. just selection
This commit is contained in:
parent
7483f11d10
commit
2fdd4c37e5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user