mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08:00
fix(text): auto-completion not working
This commit is contained in:
parent
826230311a
commit
ff89ab646c
@ -301,8 +301,9 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
|
|||||||
async createEditor() {
|
async createEditor() {
|
||||||
await this.watchdog.create(this.$editor[0], {
|
await this.watchdog.create(this.$editor[0], {
|
||||||
placeholder: t("editable_text.placeholder"),
|
placeholder: t("editable_text.placeholder"),
|
||||||
//@ts-ignore TODO: FIX TYPES
|
mention: {
|
||||||
mention: mentionSetup,
|
feeds: mentionSetup,
|
||||||
|
},
|
||||||
codeBlock: {
|
codeBlock: {
|
||||||
languages: buildListOfLanguages()
|
languages: buildListOfLanguages()
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user