mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(ckeditor): image upload not working
This commit is contained in:
parent
1d2c3fc7a7
commit
2f12d1a69f
@ -28,10 +28,10 @@ import "@triliumnext/ckeditor5-math/index.css";
|
||||
* Plugins that are specific to Trilium and not part of the CKEditor 5 core, included in both text editors but not in the attribute editor.
|
||||
*/
|
||||
const TRILIUM_PLUGINS: typeof Plugin[] = [
|
||||
UploadimagePlugin,
|
||||
CutToNotePlugin,
|
||||
ItalicAsEmPlugin,
|
||||
StrikethroughAsDel,
|
||||
UploadimagePlugin,
|
||||
InternalLinkPlugin,
|
||||
RemoveFormatLinksPlugin,
|
||||
IndentBlockShortcutPlugin,
|
||||
@ -72,8 +72,6 @@ export const CORE_PLUGINS: typeof Plugin[] = [
|
||||
*/
|
||||
export const COMMON_PLUGINS: typeof Plugin[] = [
|
||||
...CORE_PLUGINS,
|
||||
...TRILIUM_PLUGINS,
|
||||
...EXTERNAL_PLUGINS,
|
||||
|
||||
CKFinderUploadAdapter,
|
||||
Autoformat,
|
||||
@ -127,7 +125,10 @@ export const COMMON_PLUGINS: typeof Plugin[] = [
|
||||
TextPartLanguage,
|
||||
Style,
|
||||
Bookmark,
|
||||
Emoji
|
||||
Emoji,
|
||||
|
||||
...TRILIUM_PLUGINS,
|
||||
...EXTERNAL_PLUGINS
|
||||
];
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user