Quellcode durchsuchen

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 vor 3 Jahren
Ursprung
Commit
23a403644c
3 geänderte Dateien mit 3983 neuen und 3 gelöschten Zeilen
  1. 3981 1
      package-lock.json
  2. 0 1
      package.json
  3. 2 1
      packages/markdown/src/template-integration.js

Datei-Diff unterdrückt, da er zu groß ist
+ 3981 - 1
package-lock.json


+ 0 - 1
package.json

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

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

@@ -7,7 +7,8 @@ var Markdown = require('markdown-it')({
   breaks: true,
   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
 // Static URL Scheme Listing
 var urlschemes = [
 var urlschemes = [

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.