mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 15:25:51 +01:00
chore(ckeditor5): integrate ckeditor5-footnotes
This commit is contained in:
@@ -16,9 +16,11 @@ import Uploadfileplugin from "./plugins/file_upload/uploadfileplugin.js";
|
||||
import { Kbd } from "@triliumnext/ckeditor5-keyboard-marker";
|
||||
import { Mermaid } from "@triliumnext/ckeditor5-mermaid";
|
||||
import { Admonition } from "@triliumnext/ckeditor5-admonition";
|
||||
import { Footnotes } from "@triliumnext/ckeditor5-footnotes";
|
||||
|
||||
import "@triliumnext/ckeditor5-mermaid/index.css";
|
||||
import "@triliumnext/ckeditor5-admonition/index.css";
|
||||
import "@triliumnext/ckeditor5-footnotes/index.css";
|
||||
|
||||
const TRILIUM_PLUGINS: typeof Plugin[] = [
|
||||
CutToNotePlugin,
|
||||
@@ -39,7 +41,8 @@ const TRILIUM_PLUGINS: typeof Plugin[] = [
|
||||
const EXTERNAL_PLUGINS: typeof Plugin[] = [
|
||||
Kbd,
|
||||
Mermaid,
|
||||
Admonition
|
||||
Admonition,
|
||||
Footnotes
|
||||
];
|
||||
|
||||
export const COMMON_PLUGINS: typeof Plugin[] = [
|
||||
@@ -105,7 +108,6 @@ export const COMMON_PLUGINS: typeof Plugin[] = [
|
||||
// External plugins
|
||||
// Math,
|
||||
// AutoformatMath,
|
||||
// Footnotes
|
||||
];
|
||||
|
||||
export const COMMON_SETTINGS = { };
|
||||
|
||||
Reference in New Issue
Block a user