Ver código fonte

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 4 anos atrás
pai
commit
23a403644c
3 arquivos alterados com 3983 adições e 3 exclusões
  1. 3981 1
      package-lock.json
  2. 0 1
      package.json
  3. 2 1
      packages/markdown/src/template-integration.js

Diferenças do arquivo suprimidas por serem muito extensas
+ 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 = [

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff