unneeded await

pull/255/head
zadam 2023-02-15 15:09:34 +07:00
parent c95c5bb471
commit 22cea63863
1 changed files with 1 additions and 1 deletions

@ -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());