mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 15:25:51 +01:00
chore(ckeditor5): integrate ckeditor5-math
This commit is contained in:
@@ -17,10 +17,12 @@ 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 { Math, AutoformatMath } from "@triliumnext/ckeditor5-math";
|
||||
|
||||
import "@triliumnext/ckeditor5-mermaid/index.css";
|
||||
import "@triliumnext/ckeditor5-admonition/index.css";
|
||||
import "@triliumnext/ckeditor5-footnotes/index.css";
|
||||
import "@triliumnext/ckeditor5-math/index.css";
|
||||
|
||||
const TRILIUM_PLUGINS: typeof Plugin[] = [
|
||||
CutToNotePlugin,
|
||||
@@ -42,7 +44,9 @@ const EXTERNAL_PLUGINS: typeof Plugin[] = [
|
||||
Kbd,
|
||||
Mermaid,
|
||||
Admonition,
|
||||
Footnotes
|
||||
Footnotes,
|
||||
Math,
|
||||
AutoformatMath
|
||||
];
|
||||
|
||||
export const COMMON_PLUGINS: typeof Plugin[] = [
|
||||
@@ -103,11 +107,7 @@ export const COMMON_PLUGINS: typeof Plugin[] = [
|
||||
PageBreak,
|
||||
GeneralHtmlSupport,
|
||||
TextPartLanguage,
|
||||
Style,
|
||||
|
||||
// External plugins
|
||||
// Math,
|
||||
// AutoformatMath,
|
||||
Style
|
||||
];
|
||||
|
||||
export const COMMON_SETTINGS = { };
|
||||
|
||||
Reference in New Issue
Block a user