Skip to content

Build your personal knowledge base with Trilium Notes

fix(text): auto-completion not working

Elian Doranff89ab646c29
diff --git a/apps/client/src/widgets/type_widgets/editable_text.ts b/apps/client/src/widgets/type_widgets/editable_text.ts
index 2f49533ca4..e1faac24f4 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()
},