From ff89ab646c293a431a196703ec3b6e8e011bc8a3 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 15 May 2025 11:56:49 +0300 Subject: [PATCH] fix(text): auto-completion not working --- apps/client/src/widgets/type_widgets/editable_text.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/type_widgets/editable_text.ts b/apps/client/src/widgets/type_widgets/editable_text.ts index 2f49533ca..e1faac24f 100644 --- a/apps/client/src/widgets/type_widgets/editable_text.ts +++ b/apps/client/src/widgets/type_widgets/editable_text.ts @@ -301,8 +301,9 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget { async createEditor() { await this.watchdog.create(this.$editor[0], { placeholder: t("editable_text.placeholder"), - //@ts-ignore TODO: FIX TYPES - mention: mentionSetup, + mention: { + feeds: mentionSetup, + }, codeBlock: { languages: buildListOfLanguages() },