Browse Source

Temporarily remove Mermaid Diagram because even after updating to newest Mermaid it still has bug https://github.com/wekan/wekan/issues/4251

Thanks to xet7 !
Lauri Ojansivu 3 years ago
parent
commit
23a403644c
3 changed files with 3983 additions and 3 deletions
  1. 3981 1
      package-lock.json
  2. 0 1
      package.json
  3. 2 1
      packages/markdown/src/template-integration.js

File diff suppressed because it is too large
+ 3981 - 1
package-lock.json


+ 0 - 1
package.json

@@ -22,7 +22,6 @@
   "dependencies": {
     "@babel/core": "^7.15.0",
     "@babel/runtime": "^7.15.3",
-    "@wekanteam/markdown-it-mermaid": "^0.5.1",
     "ajv": "^8.8.2",
     "bcryptjs": "^2.4.3",
     "bson": "^4.6.0",

+ 2 - 1
packages/markdown/src/template-integration.js

@@ -7,7 +7,8 @@ var Markdown = require('markdown-it')({
   breaks: true,
 });
 
-import markdownItMermaid from "@wekanteam/markdown-it-mermaid";
+// How to fix Mermaid bug so it would work? https://github.com/wekan/wekan/issues/4251
+//import markdownItMermaid from "@wekanteam/markdown-it-mermaid";
 
 // Static URL Scheme Listing
 var urlschemes = [

Some files were not shown because too many files changed in this diff