mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(ckeditor5): integrate ckeditor5-footnotes
This commit is contained in:
parent
c0a64d1ef0
commit
46e21928b8
@ -17,6 +17,7 @@
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitOverride": true,
|
||||
"composite": true,
|
||||
"strict": true,
|
||||
"target": "es2019",
|
||||
"sourceMap": true,
|
||||
|
@ -22,7 +22,8 @@
|
||||
"ckeditor5": "43.2.0",
|
||||
"@triliumnext/ckeditor5-keyboard-marker": "workspace:*",
|
||||
"@triliumnext/ckeditor5-mermaid": "workspace:*",
|
||||
"@triliumnext/ckeditor5-admonition": "workspace:*"
|
||||
"@triliumnext/ckeditor5-admonition": "workspace:*",
|
||||
"@triliumnext/ckeditor5-footnotes": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jquery": "3.5.32"
|
||||
|
@ -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 = { };
|
||||
|
@ -3,6 +3,9 @@
|
||||
"files": [],
|
||||
"include": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "../ckeditor5-footnotes"
|
||||
},
|
||||
{
|
||||
"path": "../ckeditor5-admonition"
|
||||
},
|
||||
|
@ -19,6 +19,9 @@
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
"path": "../ckeditor5-footnotes"
|
||||
},
|
||||
{
|
||||
"path": "../ckeditor5-admonition"
|
||||
},
|
||||
|
2056
pnpm-lock.yaml
generated
2056
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -44,6 +44,9 @@
|
||||
},
|
||||
{
|
||||
"path": "./packages/ckeditor5-admonition"
|
||||
},
|
||||
{
|
||||
"path": "./packages/ckeditor5-footnotes"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user