unneeded await

This commit is contained in:
zadam 2023-02-15 15:09:34 +01:00
parent c95c5bb471
commit 22cea63863

View file

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