mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-01 20:32:19 +08:00
feat: stop embedding mermaid
This commit is contained in:
parent
a2e10dcade
commit
eee0b3bd07
@ -31,7 +31,6 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ckeditor5": "43.2.0",
|
"ckeditor5": "43.2.0",
|
||||||
"mermaid": "^9.1.4",
|
|
||||||
"lodash-es": "^4.17.15"
|
"lodash-es": "^4.17.15"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
import { Plugin } from 'ckeditor5/src/core.js';
|
import { Plugin } from 'ckeditor5/src/core.js';
|
||||||
import { toWidget } from 'ckeditor5/src/widget.js';
|
import { toWidget } from 'ckeditor5/src/widget.js';
|
||||||
|
|
||||||
import mermaid from 'mermaid/dist/mermaid.js';
|
|
||||||
|
|
||||||
import { debounce } from 'lodash-es';
|
import { debounce } from 'lodash-es';
|
||||||
|
|
||||||
import MermaidPreviewCommand from './commands/mermaidPreviewCommand.js';
|
import MermaidPreviewCommand from './commands/mermaidPreviewCommand.js';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user