From 22cea638632983c9ba36338b3ed8ad8d45f8b4f0 Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 15 Feb 2023 15:09:34 +0100 Subject: [PATCH] unneeded await --- src/public/app/widgets/type_widgets/editable_text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/type_widgets/editable_text.js b/src/public/app/widgets/type_widgets/editable_text.js index 5fa11e571..d2be814dc 100644 --- a/src/public/app/widgets/type_widgets/editable_text.js +++ b/src/public/app/widgets/type_widgets/editable_text.js @@ -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());