synchronize the removal of the selection in cuttonote to make it more predictable

This commit is contained in:
zadam 2020-08-10 22:42:57 +02:00
parent 960d7dede3
commit 7779fd1dfe
3 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -331,4 +331,9 @@ export default class NoteDetailWidget extends TabAwareWidget {
saveSelection: true
});
}
// used by cutToNote in CKEditor build
async saveNoteDetailNowCommand() {
await this.spacedUpdate.updateNowIfNecessary();
}
}