From 7444d108bfd98daa4a7b37e4844a03b46b02e92d Mon Sep 17 00:00:00 2001 From: zbf Date: Sun, 12 Mar 2023 21:56:34 +0800 Subject: [PATCH] revert: set default version of mermaid to 9 --- MdEditor/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdEditor/config.ts b/MdEditor/config.ts index 656c20dd..5863462b 100644 --- a/MdEditor/config.ts +++ b/MdEditor/config.ts @@ -229,8 +229,8 @@ export const staticTextDefault: StaticTextDefault = { } }; -export const mermaidUrl = `${cdnBase}/mermaid/10.0.2/mermaid.esm.min.mjs`; -// export const mermaidUrl = `${cdnBase}/mermaid/9.4.0/mermaid.min.js`; +// export const mermaidUrl = `${cdnBase}/mermaid/10.0.2/mermaid.esm.min.mjs`; +export const mermaidUrl = `${cdnBase}/mermaid/9.4.0/mermaid.min.js`; export const katexUrl = { js: `${cdnBase}/KaTeX/0.16.3/katex.min.js`,