fix(text): auto-completion not working

This commit is contained in:
Elian Doran 2025-05-15 11:56:49 +03:00
parent 826230311a
commit ff89ab646c
No known key found for this signature in database

View File

@ -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()
},