Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(ckeditor5-mermaid): add missing CSS
Elian Doran89f95f61874d
diff --git a/packages/ckeditor5-mermaid/src/index.ts b/packages/ckeditor5-mermaid/src/index.tsindex 46c94ca0f3..58fa30892e 100644--- a/packages/ckeditor5-mermaid/src/index.ts+++ b/packages/ckeditor5-mermaid/src/index.ts@@ -6,6 +6,7 @@ import insertMermaidIcon from './../theme/icons/insert.svg';import previewModeIcon from './../theme/icons/preview-mode.svg';import splitModeIcon from './../theme/icons/split-mode.svg';import sourceModeIcon from './../theme/icons/source-mode.svg';+import "../theme/mermaid.css";export const icons = {infoIcon,diff --git a/packages/ckeditor5/src/plugins.ts b/packages/ckeditor5/src/plugins.tsindex edce9596bd..aef2909f49 100644--- a/packages/ckeditor5/src/plugins.ts+++ b/packages/ckeditor5/src/plugins.ts@@ -16,6 +16,8 @@ import Uploadfileplugin from "./plugins/file_upload/uploadfileplugin.js";import { Kbd } from "@triliumnext/ckeditor5-keyboard-marker";import { Mermaid } from "@triliumnext/ckeditor5-mermaid";+import "@triliumnext/ckeditor5-mermaid/index.css";+const TRILIUM_PLUGINS: typeof Plugin[] = [CutToNotePlugin,ItalicAsEmPlugin,