mirror of
https://github.com/zadam/trilium.git
synced 2025-02-20 21:13:11 +08:00
synchronize the removal of the selection in cuttonote to make it more predictable
This commit is contained in:
parent
960d7dede3
commit
7779fd1dfe
3 changed files with 7 additions and 2 deletions
2
libraries/ckeditor/ckeditor.js
vendored
2
libraries/ckeditor/ckeditor.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -331,4 +331,9 @@ export default class NoteDetailWidget extends TabAwareWidget {
|
|||
saveSelection: true
|
||||
});
|
||||
}
|
||||
|
||||
// used by cutToNote in CKEditor build
|
||||
async saveNoteDetailNowCommand() {
|
||||
await this.spacedUpdate.updateNowIfNecessary();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue