Skip to content

Build your personal knowledge base with Trilium Notes

feat: stop embedding mermaid

Elian Doraneee0b3bd0702
diff --git a/package.json b/package.json
index fd3932c49b..c0785edaeb 100644
--- a/package.json
+++ b/package.json
@@ -31,7 +31,6 @@
],
"dependencies": {
"ckeditor5": "43.2.0",
- "mermaid": "^9.1.4",
"lodash-es": "^4.17.15"
},
"devDependencies": {
diff --git a/src/mermaidediting.js b/src/mermaidediting.js
index f4c94ca269..76299d9a77 100644
--- a/src/mermaidediting.js
+++ b/src/mermaidediting.js
@@ -5,8 +5,6 @@
import { Plugin } from 'ckeditor5/src/core.js';
import { toWidget } from 'ckeditor5/src/widget.js';
-import mermaid from 'mermaid/dist/mermaid.js';
-
import { debounce } from 'lodash-es';
import MermaidPreviewCommand from './commands/mermaidPreviewCommand.js';