mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(ckeditor5-mermaid): add missing CSS
This commit is contained in:
parent
6b1dab4448
commit
89f95f6187
@ -6,6 +6,7 @@ import insertMermaidIcon from './../theme/icons/insert.svg';
|
|||||||
import previewModeIcon from './../theme/icons/preview-mode.svg';
|
import previewModeIcon from './../theme/icons/preview-mode.svg';
|
||||||
import splitModeIcon from './../theme/icons/split-mode.svg';
|
import splitModeIcon from './../theme/icons/split-mode.svg';
|
||||||
import sourceModeIcon from './../theme/icons/source-mode.svg';
|
import sourceModeIcon from './../theme/icons/source-mode.svg';
|
||||||
|
import "../theme/mermaid.css";
|
||||||
|
|
||||||
export const icons = {
|
export const icons = {
|
||||||
infoIcon,
|
infoIcon,
|
||||||
|
@ -16,6 +16,8 @@ import Uploadfileplugin from "./plugins/file_upload/uploadfileplugin.js";
|
|||||||
import { Kbd } from "@triliumnext/ckeditor5-keyboard-marker";
|
import { Kbd } from "@triliumnext/ckeditor5-keyboard-marker";
|
||||||
import { Mermaid } from "@triliumnext/ckeditor5-mermaid";
|
import { Mermaid } from "@triliumnext/ckeditor5-mermaid";
|
||||||
|
|
||||||
|
import "@triliumnext/ckeditor5-mermaid/index.css";
|
||||||
|
|
||||||
const TRILIUM_PLUGINS: typeof Plugin[] = [
|
const TRILIUM_PLUGINS: typeof Plugin[] = [
|
||||||
CutToNotePlugin,
|
CutToNotePlugin,
|
||||||
ItalicAsEmPlugin,
|
ItalicAsEmPlugin,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user