mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
chore(ckeditor5): integrate ckeditor5-math
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import ckeditor from './../theme/icons/ckeditor.svg';
|
||||
import ckeditor from './../theme/icons/math.svg';
|
||||
import './augmentation.js';
|
||||
import "../theme/mathform.css";
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitOverride": true,
|
||||
"composite": true,
|
||||
"strict": true,
|
||||
"target": "es2019",
|
||||
"sourceMap": true,
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
"@triliumnext/ckeditor5-keyboard-marker": "workspace:*",
|
||||
"@triliumnext/ckeditor5-mermaid": "workspace:*",
|
||||
"@triliumnext/ckeditor5-admonition": "workspace:*",
|
||||
"@triliumnext/ckeditor5-footnotes": "workspace:*"
|
||||
"@triliumnext/ckeditor5-footnotes": "workspace:*",
|
||||
"@triliumnext/ckeditor5-math": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jquery": "3.5.32"
|
||||
|
||||
@@ -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 = { };
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
"files": [],
|
||||
"include": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "../ckeditor5-math"
|
||||
},
|
||||
{
|
||||
"path": "../ckeditor5-footnotes"
|
||||
},
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../ckeditor5-math"
|
||||
},
|
||||
{
|
||||
"path": "../ckeditor5-footnotes"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user