mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 02:52:27 +08:00
unneeded await
This commit is contained in:
parent
c95c5bb471
commit
22cea63863
@ -154,7 +154,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
|
||||
}
|
||||
});
|
||||
|
||||
await this.watchdog.setCreator(async (elementOrData, editorConfig) => {
|
||||
this.watchdog.setCreator(async (elementOrData, editorConfig) => {
|
||||
const editor = await BalloonEditor.create(elementOrData, editorConfig);
|
||||
|
||||
editor.model.document.on('change:data', () => this.spacedUpdate.scheduleUpdate());
|
||||
|
Loading…
x
Reference in New Issue
Block a user