mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(ckeditor): mentions not working in attribute editor
This commit is contained in:
parent
ff0a24df55
commit
72dced679d
@ -15,7 +15,6 @@ import type { CommandData, EventData, EventListener, FilteredCommandNames } from
|
||||
import 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>
|
||||
|
@ -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,
|
||||
|
6
pnpm-lock.yaml
generated
6
pnpm-lock.yaml
generated
@ -6,7 +6,7 @@ settings:
|
||||
|
||||
patchedDependencies:
|
||||
'@ckeditor/ckeditor5-mention':
|
||||
hash: ykir47wdhuap7iioe7mudxpk74
|
||||
hash: ea634450951529f434461216c50e9197d59e5cf9992c25ef1d38c602268d1313
|
||||
path: patches/@ckeditor__ckeditor5-mention.patch
|
||||
|
||||
importers:
|
||||
@ -15396,7 +15396,7 @@ snapshots:
|
||||
'@ckeditor/ckeditor5-widget': 43.2.0
|
||||
ckeditor5: 43.2.0
|
||||
|
||||
'@ckeditor/ckeditor5-mention@43.2.0(patch_hash=ykir47wdhuap7iioe7mudxpk74)':
|
||||
'@ckeditor/ckeditor5-mention@43.2.0(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
|
||||
|
Loading…
x
Reference in New Issue
Block a user