Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(ckeditor): mentions not working in attribute editor
Elian Doran72dced679d86
diff --git a/apps/client/src/widgets/attribute_widgets/attribute_editor.ts b/apps/client/src/widgets/attribute_widgets/attribute_editor.tsindex 8029b8d4c7..715b5a7e93 100644--- a/apps/client/src/widgets/attribute_widgets/attribute_editor.ts+++ b/apps/client/src/widgets/attribute_widgets/attribute_editor.ts@@ -15,7 +15,6 @@ import type { CommandData, EventData, EventListener, FilteredCommandNames } fromimport type { default as FAttribute, AttributeType } from "../../entities/fattribute.js";import type FNote from "../../entities/fnote.js";import { escapeQuotes } from "../../services/utils.js";-import { buildConfig } from "../type_widgets/ckeditor/config.js";const HELP_TEXT = `<p>${t("attribute_editor.help_text_body1")}</p>diff --git a/packages/ckeditor5/src/plugins.ts b/packages/ckeditor5/src/plugins.tsindex 70e4691d92..644019aef1 100644--- a/packages/ckeditor5/src/plugins.ts+++ b/packages/ckeditor5/src/plugins.ts@@ -52,7 +52,8 @@ const EXTERNAL_PLUGINS: typeof Plugin[] = [export const CORE_PLUGINS: typeof Plugin[] = [Clipboard, Enter, SelectAll,ShiftEnter, Typing, Undo,- Paragraph+ Paragraph,+ Mention];export const COMMON_PLUGINS: typeof Plugin[] = [@@ -107,7 +108,6 @@ export const COMMON_PLUGINS: typeof Plugin[] = [SpecialCharacters,SpecialCharactersEssentials,FindAndReplace,- Mention,PageBreak,GeneralHtmlSupport,TextPartLanguage,diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 59460b20d8..324d5e7ed7 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -6,7 +6,7 @@ settings:patchedDependencies:'@ckeditor/ckeditor5-mention':- hash: ykir47wdhuap7iioe7mudxpk74+ hash: ea634450951529f434461216c50e9197d59e5cf9992c25ef1d38c602268d1313path: patches/@ckeditor__ckeditor5-mention.patchimporters:@@ -15396,7 +15396,7 @@ snapshots:'@ckeditor/ckeditor5-widget': 43.2.0ckeditor5: 43.2.0- '@ckeditor/[email protected](patch_hash=ykir47wdhuap7iioe7mudxpk74)':+ '@ckeditor/[email protected](patch_hash=ea634450951529f434461216c50e9197d59e5cf9992c25ef1d38c602268d1313)':dependencies:'@ckeditor/ckeditor5-core': 43.2.0'@ckeditor/ckeditor5-typing': 43.2.0@@ -20849,7 +20849,7 @@ snapshots:'@ckeditor/ckeditor5-list': 43.2.0'@ckeditor/ckeditor5-markdown-gfm': 43.2.0'@ckeditor/ckeditor5-media-embed': 43.2.0- '@ckeditor/ckeditor5-mention': 43.2.0(patch_hash=ykir47wdhuap7iioe7mudxpk74)+ '@ckeditor/ckeditor5-mention': 43.2.0(patch_hash=ea634450951529f434461216c50e9197d59e5cf9992c25ef1d38c602268d1313)'@ckeditor/ckeditor5-minimap': 43.2.0'@ckeditor/ckeditor5-page-break': 43.2.0'@ckeditor/ckeditor5-paragraph': 43.2.0