Răsfoiți Sursa

update mermaid and change editormd.js to editormd.min.js
可以制作饼图 状态图等图形并且更新editormd.js为editormd.min.js
可以使加载更快,min.js使用uglify-js压缩生成

zhang sheng 4 ani în urmă
părinte
comite
53714831f0

+ 40 - 43
static/editor.md/editormd.js

@@ -1,8 +1,8 @@
 /*
  * Editor.md
  *
- * @file        editormd.js 
- * @version     v1.5.0 
+ * @file        editormd.js
+ * @version     v1.5.0
  * @description Open source online markdown editor.
  * @license     MIT License
  * @author      Pandao
@@ -512,48 +512,45 @@
 
 
                 if (settings.mermaid) {
-                    editormd.loadCSS(loadPath + "mermaid/mermaid", function () {
-                            editormd.loadScript(loadPath + "mermaid/mermaid.min", function () {
-                            window.mermaid.initialize({
-                                theme: 'default',
-                                startOnLoad:true,
-                                cloneCssStyles: true,
-                                flowchart: {
-                                    htmlLabels: false,
-                                    useMaxWidth:false
-                                },
-                            });
-                            mermaid.ganttConfig = {
-                                axisFormatter: [
-                                    // Within a day
-                                    ['%I:%M', function (d) {
-                                        return d.getHours();
-                                    }],
-                                    // Monday a week
-                                    ['%m/%d', function (d) { // redefine date here as '%m/%d'instead of 'w. %U', search mermaid.js
-                                        return d.getDay() == 1;
-                                    }],
-                                    // Day within a week (not monday)
-                                    ['%a %d', function (d) {
-                                        return d.getDay() && d.getDate() != 1;
-                                    }],
-                                    // within a month
-                                    ['%b %d', function (d) {
-                                        return d.getDate() != 1;
-                                    }],
-                                    // Month
-                                    ['%m-%y', function (d) {
-                                        return d.getMonth();
-                                    }],[ "%m-%Y", function () {
-                                        return d.getFullYear();
-                                    }]]
-                            };
-
-                            if (!isLoadedDisplay){
-                                isLoadedDisplay = true;
-                                _this.loadedDisplay();
-                            }
+                    editormd.loadScript(loadPath + "mermaid/mermaid.min", function () {
+                        window.mermaid.initialize({
+                            theme: 'default',
+                            logLevel: 3,
+                            securityLevel: 'loose',
+                            flowchart: { curve: 'basis' },
+                            gantt: { axisFormat: '%m/%d/%Y' },
+                            sequence: { actorMargin: 50 },
                         });
+                        mermaid.ganttConfig = {
+                            axisFormatter: [
+                                // Within a day
+                                ['%I:%M', function (d) {
+                                    return d.getHours();
+                                }],
+                                // Monday a week
+                                ['%m/%d', function (d) { // redefine date here as '%m/%d'instead of 'w. %U', search mermaid.js
+                                    return d.getDay() == 1;
+                                }],
+                                // Day within a week (not monday)
+                                ['%a %d', function (d) {
+                                    return d.getDay() && d.getDate() != 1;
+                                }],
+                                // within a month
+                                ['%b %d', function (d) {
+                                    return d.getDate() != 1;
+                                }],
+                                // Month
+                                ['%m-%y', function (d) {
+                                    return d.getMonth();
+                                }],[ "%m-%Y", function () {
+                                    return d.getFullYear();
+                                }]]
+                        };
+
+                        if (!isLoadedDisplay){
+                            isLoadedDisplay = true;
+                            _this.loadedDisplay();
+                        }
                     });
                 }
                 if (settings.flowChart)

Fișier diff suprimat deoarece este prea mare
+ 0 - 1
static/editor.md/editormd.min.js


+ 0 - 273
static/editor.md/lib/mermaid/mermaid.css

@@ -1,273 +0,0 @@
-/* Flowchart variables */
-/* Sequence Diagram variables */
-/* Gantt chart variables */
-.lang-mermaid .mermaid .label {
-  color: #333;
-}
-.lang-mermaid .node rect,
-.lang-mermaid .node circle,
-.lang-mermaid .node ellipse,
-.lang-mermaid .node polygon {
-  fill: #ECECFF;
-  stroke: #CCCCFF;
-  stroke-width: 1px;
-}
-.lang-mermaid .edgePath .path {
-  stroke: #333333;
-}
-.lang-mermaid .edgeLabel {
-  background-color: #e8e8e8;
-}
-.lang-mermaid .cluster rect {
-  fill: #ffffde !important;
-  rx: 4 !important;
-  stroke: #aaaa33 !important;
-  stroke-width: 1px !important;
-}
-.lang-mermaid .cluster text {
-  fill: #333;
-}
-.lang-mermaid .actor {
-  stroke: #CCCCFF;
-  fill: #ECECFF;
-}
-.lang-mermaid text.actor {
-  fill: black;
-  stroke: none;
-}
-.lang-mermaid .actor-line {
-  stroke: grey;
-}
-.lang-mermaid .messageLine0 {
-  stroke-width: 1.5;
-  stroke-dasharray: "2 2";
-  marker-end: "url(#arrowhead)";
-  stroke: #333;
-}
-.lang-mermaid .messageLine1 {
-  stroke-width: 1.5;
-  stroke-dasharray: "2 2";
-  stroke: #333;
-}
-.lang-mermaid #arrowhead {
-  fill: #333;
-}
-.lang-mermaid #crosshead path {
-  fill: #333 !important;
-  stroke: #333 !important;
-}
-.lang-mermaid .messageText {
-  fill: #333;
-  stroke: none;
-}
-.lang-mermaid .labelBox {
-  stroke: #CCCCFF;
-  fill: #ECECFF;
-}
-.lang-mermaid .labelText {
-  fill: black;
-  stroke: none;
-}
-.lang-mermaid .loopText {
-  fill: black;
-  stroke: none;
-}
-.lang-mermaid .loopLine {
-  stroke-width: 2;
-  stroke-dasharray: "2 2";
-  marker-end: "url(#arrowhead)";
-  stroke: #CCCCFF;
-}
-.lang-mermaid .note {
-  stroke: #aaaa33;
-  fill: #fff5ad;
-}
-.lang-mermaid .noteText {
-  fill: black;
-  stroke: none;
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 14px;
-}
-/** Section styling */
-.lang-mermaid .section {
-  stroke: none;
-  opacity: 0.2;
-}
-.lang-mermaid .section0 {
-  fill: rgba(102, 102, 255, 0.49);
-}
-.lang-mermaid .section2 {
-  fill: #fff400;
-}
-.lang-mermaid .section1,
-.section3 {
-  fill: white;
-  opacity: 0.2;
-}
-.lang-mermaid .sectionTitle0 {
-  fill: #333;
-}
-.lang-mermaid .sectionTitle1 {
-  fill: #333;
-}
-.lang-mermaid .sectionTitle2 {
-  fill: #333;
-}
-.lang-mermaid .sectionTitle3 {
-  fill: #333;
-}
-.lang-mermaid .sectionTitle {
-  text-anchor: start;
-  font-size: 11px;
-  text-height: 14px;
-}
-/* Grid and axis */
-.lang-mermaid .grid .tick {
-  stroke: lightgrey;
-  opacity: 0.3;
-  shape-rendering: crispEdges;
-}
-.lang-mermaid .grid path {
-  stroke-width: 0;
-}
-/* Today line */
-.lang-mermaid .today {
-  fill: none;
-  stroke: red;
-  stroke-width: 2px;
-}
-/* Task styling */
-/* Default task */
-.lang-mermaid .task {
-  stroke-width: 2;
-}
-.lang-mermaid .taskText {
-  text-anchor: middle;
-  font-size: 11px;
-}
-.lang-mermaid .taskTextOutsideRight {
-  fill: black;
-  text-anchor: start;
-  font-size: 11px;
-}
-.lang-mermaid .taskTextOutsideLeft {
-  fill: black;
-  text-anchor: end;
-  font-size: 11px;
-}
-/* Specific task settings for the sections*/
-.lang-mermaid .taskText0,
-.lang-mermaid .taskText1,
-.lang-mermaid .taskText2,
-.lang-mermaid .taskText3 {
-  fill: white;
-}
-.lang-mermaid .task0,
-.lang-mermaid .task1,
-.lang-mermaid .task2,
-.lang-mermaid .task3 {
-  fill: #8a90dd;
-  stroke: #534fbc;
-}
-.lang-mermaid .taskTextOutside0,
-.lang-mermaid .taskTextOutside2 {
-  fill: black;
-}
-.lang-mermaid .taskTextOutside1,
-.lang-mermaid .taskTextOutside3 {
-  fill: black;
-}
-/* Active task */
-.lang-mermaid .active0,
-.lang-mermaid .active1,
-.lang-mermaid .active2,
-.lang-mermaid .active3 {
-  fill: #bfc7ff;
-  stroke: #534fbc;
-}
-.lang-mermaid .activeText0,
-.lang-mermaid .activeText1,
-.lang-mermaid .activeText2,
-.lang-mermaid .activeText3 {
-  fill: black !important;
-}
-/* Completed task */
-.lang-mermaid .done0,
-.lang-mermaid .done1,
-.lang-mermaid .done2,
-.lang-mermaid .done3 {
-  stroke: grey;
-  fill: lightgrey;
-  stroke-width: 2;
-}
-.lang-mermaid .doneText0,
-.lang-mermaid .doneText1,
-.lang-mermaid .doneText2,
-.lang-mermaid .doneText3 {
-  fill: black !important;
-}
-/* Tasks on the critical line */
-.lang-mermaid .crit0,
-.lang-mermaid .crit1,
-.lang-mermaid .crit2,
-.lang-mermaid .crit3 {
-  stroke: #ff8888;
-  fill: red;
-  stroke-width: 2;
-}
-.lang-mermaid .activeCrit0,
-.lang-mermaid .activeCrit1,
-.lang-mermaid .activeCrit2,
-.lang-mermaid .activeCrit3 {
-  stroke: #ff8888;
-  fill: #bfc7ff;
-  stroke-width: 2;
-}
-.lang-mermaid .doneCrit0,
-.lang-mermaid .doneCrit1,
-.lang-mermaid .doneCrit2,
-.lang-mermaid .doneCrit3 {
-  stroke: #ff8888;
-  fill: lightgrey;
-  stroke-width: 2;
-  cursor: pointer;
-  shape-rendering: crispEdges;
-}
-.lang-mermaid .doneCritText0,
-.lang-mermaid .doneCritText1,
-.lang-mermaid .doneCritText2,
-.lang-mermaid .doneCritText3 {
-  fill: black !important;
-}
-.lang-mermaid .activeCritText0,
-.lang-mermaid .activeCritText1,
-.lang-mermaid .activeCritText2,
-.lang-mermaid .activeCritText3 {
-  fill: black !important;
-}
-.lang-mermaid .titleText {
-  text-anchor: middle;
-  font-size: 18px;
-  fill: black;
-}
-/*
-
-
-*/
-.lang-mermaid .node text {
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 14px;
-}
-.lang-mermaid div.mermaidTooltip {
-  position: absolute;
-  text-align: center;
-  max-width: 200px;
-  padding: 2px;
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 12px;
-  background: #ffffde;
-  border: 1px solid #aaaa33;
-  border-radius: 2px;
-  pointer-events: none;
-  z-index: 100;
-}

+ 0 - 275
static/editor.md/lib/mermaid/mermaid.dark.css

@@ -1,275 +0,0 @@
-/* Flowchart variables */
-/* Sequence Diagram variables */
-/* Gantt chart variables */
-.mermaid .label {
-  color: #323D47;
-}
-.node rect,
-.node circle,
-.node ellipse,
-.node polygon {
-  fill: #BDD5EA;
-  stroke: #81B1DB;
-  stroke-width: 1px;
-}
-.edgePath .path {
-  stroke: lightgrey;
-}
-.edgeLabel {
-  background-color: #e8e8e8;
-}
-.cluster rect {
-  fill: #6D6D65 !important;
-  rx: 4 !important;
-  stroke: rgba(255, 255, 255, 0.25) !important;
-  stroke-width: 1px !important;
-}
-.cluster text {
-  fill: #F9FFFE;
-}
-.actor {
-  stroke: #81B1DB;
-  fill: #BDD5EA;
-}
-text.actor {
-  fill: black;
-  stroke: none;
-}
-.actor-line {
-  stroke: lightgrey;
-}
-.messageLine0 {
-  stroke-width: 1.5;
-  stroke-dasharray: "2 2";
-  marker-end: "url(#arrowhead)";
-  stroke: lightgrey;
-}
-.messageLine1 {
-  stroke-width: 1.5;
-  stroke-dasharray: "2 2";
-  stroke: lightgrey;
-}
-#arrowhead {
-  fill: lightgrey !important;
-}
-#crosshead path {
-  fill: lightgrey !important;
-  stroke: lightgrey !important;
-}
-.messageText {
-  fill: lightgrey;
-  stroke: none;
-}
-.labelBox {
-  stroke: #81B1DB;
-  fill: #BDD5EA;
-}
-.labelText {
-  fill: #323D47;
-  stroke: none;
-}
-.loopText {
-  fill: lightgrey;
-  stroke: none;
-}
-.loopLine {
-  stroke-width: 2;
-  stroke-dasharray: "2 2";
-  marker-end: "url(#arrowhead)";
-  stroke: #81B1DB;
-}
-.note {
-  stroke: rgba(255, 255, 255, 0.25);
-  fill: #fff5ad;
-}
-.noteText {
-  fill: black;
-  stroke: none;
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 14px;
-}
-/** Section styling */
-.section {
-  stroke: none;
-  opacity: 0.2;
-}
-.section0 {
-  fill: rgba(255, 255, 255, 0.3);
-}
-.section2 {
-  fill: #EAE8B9;
-}
-.section1,
-.section3 {
-  fill: white;
-  opacity: 0.2;
-}
-.sectionTitle0 {
-  fill: #F9FFFE;
-}
-.sectionTitle1 {
-  fill: #F9FFFE;
-}
-.sectionTitle2 {
-  fill: #F9FFFE;
-}
-.sectionTitle3 {
-  fill: #F9FFFE;
-}
-.sectionTitle {
-  text-anchor: start;
-  font-size: 11px;
-  text-height: 14px;
-}
-/* Grid and axis */
-.grid .tick {
-  stroke: rgba(255, 255, 255, 0.3);
-  opacity: 0.3;
-  shape-rendering: crispEdges;
-}
-.grid .tick text {
-  fill: lightgrey;
-  opacity: 0.5;
-}
-.grid path {
-  stroke-width: 0;
-}
-/* Today line */
-.today {
-  fill: none;
-  stroke: #DB5757;
-  stroke-width: 2px;
-}
-/* Task styling */
-/* Default task */
-.task {
-  stroke-width: 1;
-}
-.taskText {
-  text-anchor: middle;
-  font-size: 11px;
-}
-.taskTextOutsideRight {
-  fill: #323D47;
-  text-anchor: start;
-  font-size: 11px;
-}
-.taskTextOutsideLeft {
-  fill: #323D47;
-  text-anchor: end;
-  font-size: 11px;
-}
-/* Specific task settings for the sections*/
-.taskText0,
-.taskText1,
-.taskText2,
-.taskText3 {
-  fill: #323D47;
-}
-.task0,
-.task1,
-.task2,
-.task3 {
-  fill: #BDD5EA;
-  stroke: rgba(255, 255, 255, 0.5);
-}
-.taskTextOutside0,
-.taskTextOutside2 {
-  fill: lightgrey;
-}
-.taskTextOutside1,
-.taskTextOutside3 {
-  fill: lightgrey;
-}
-/* Active task */
-.active0,
-.active1,
-.active2,
-.active3 {
-  fill: #81B1DB;
-  stroke: rgba(255, 255, 255, 0.5);
-}
-.activeText0,
-.activeText1,
-.activeText2,
-.activeText3 {
-  fill: #323D47 !important;
-}
-/* Completed task */
-.done0,
-.done1,
-.done2,
-.done3 {
-  fill: lightgrey;
-}
-.doneText0,
-.doneText1,
-.doneText2,
-.doneText3 {
-  fill: #323D47 !important;
-}
-/* Tasks on the critical line */
-.crit0,
-.crit1,
-.crit2,
-.crit3 {
-  stroke: #E83737;
-  fill: #E83737;
-  stroke-width: 2;
-}
-.activeCrit0,
-.activeCrit1,
-.activeCrit2,
-.activeCrit3 {
-  stroke: #E83737;
-  fill: #81B1DB;
-  stroke-width: 2;
-}
-.doneCrit0,
-.doneCrit1,
-.doneCrit2,
-.doneCrit3 {
-  stroke: #E83737;
-  fill: lightgrey;
-  stroke-width: 1;
-  cursor: pointer;
-  shape-rendering: crispEdges;
-}
-.doneCritText0,
-.doneCritText1,
-.doneCritText2,
-.doneCritText3 {
-  fill: lightgrey !important;
-}
-.activeCritText0,
-.activeCritText1,
-.activeCritText2,
-.activeCritText3 {
-  fill: #323D47 !important;
-}
-.titleText {
-  text-anchor: middle;
-  font-size: 18px;
-  fill: lightgrey;
-}
-/*
-
-
-*/
-.node text {
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 14px;
-}
-div.mermaidTooltip {
-  position: absolute;
-  text-align: center;
-  max-width: 200px;
-  padding: 2px;
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 12px;
-  background: #6D6D65;
-  border: 1px solid rgba(255, 255, 255, 0.25);
-  border-radius: 2px;
-  pointer-events: none;
-  z-index: 100;
-}

+ 0 - 353
static/editor.md/lib/mermaid/mermaid.forest.css

@@ -1,353 +0,0 @@
-/* Flowchart variables */
-/* Sequence Diagram variables */
-/* Gantt chart variables */
-.mermaid .label {
-  font-family: 'trebuchet ms', verdana, arial;
-  color: #333;
-}
-.node rect,
-.node circle,
-.node ellipse,
-.node polygon {
-  fill: #cde498;
-  stroke: #13540c;
-  stroke-width: 1px;
-}
-.edgePath .path {
-  stroke: green;
-  stroke-width: 1.5px;
-}
-.edgeLabel {
-  background-color: #e8e8e8;
-}
-.cluster rect {
-  fill: #cdffb2 !important;
-  rx: 4  !important;
-  stroke: #6eaa49 !important;
-  stroke-width: 1px !important;
-}
-.cluster text {
-  fill: #333;
-}
-.actor {
-  stroke: #13540c;
-  fill: #cde498;
-}
-text.actor {
-  fill: black;
-  stroke: none;
-}
-.actor-line {
-  stroke: grey;
-}
-.messageLine0 {
-  stroke-width: 1.5;
-  stroke-dasharray: "2 2";
-  marker-end: "url(#arrowhead)";
-  stroke: #333;
-}
-.messageLine1 {
-  stroke-width: 1.5;
-  stroke-dasharray: "2 2";
-  stroke: #333;
-}
-#arrowhead {
-  fill: #333;
-}
-#crosshead path {
-  fill: #333 !important;
-  stroke: #333 !important;
-}
-.messageText {
-  fill: #333;
-  stroke: none;
-}
-.labelBox {
-  stroke: #326932;
-  fill: #cde498;
-}
-.labelText {
-  fill: black;
-  stroke: none;
-}
-.loopText {
-  fill: black;
-  stroke: none;
-}
-.loopLine {
-  stroke-width: 2;
-  stroke-dasharray: "2 2";
-  marker-end: "url(#arrowhead)";
-  stroke: #326932;
-}
-.note {
-  stroke: #6eaa49;
-  fill: #fff5ad;
-}
-.noteText {
-  fill: black;
-  stroke: none;
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 14px;
-}
-/** Section styling */
-.section {
-  stroke: none;
-  opacity: 0.2;
-}
-.section0 {
-  fill: #6eaa49;
-}
-.section2 {
-  fill: #6eaa49;
-}
-.section1,
-.section3 {
-  fill: white;
-  opacity: 0.2;
-}
-.sectionTitle0 {
-  fill: #333;
-}
-.sectionTitle1 {
-  fill: #333;
-}
-.sectionTitle2 {
-  fill: #333;
-}
-.sectionTitle3 {
-  fill: #333;
-}
-.sectionTitle {
-  text-anchor: start;
-  font-size: 11px;
-  text-height: 14px;
-}
-/* Grid and axis */
-.grid .tick {
-  stroke: lightgrey;
-  opacity: 0.3;
-  shape-rendering: crispEdges;
-}
-.grid path {
-  stroke-width: 0;
-}
-/* Today line */
-.today {
-  fill: none;
-  stroke: red;
-  stroke-width: 2px;
-}
-/* Task styling */
-/* Default task */
-.task {
-  stroke-width: 2;
-}
-.taskText {
-  text-anchor: middle;
-  font-size: 11px;
-}
-.taskTextOutsideRight {
-  fill: black;
-  text-anchor: start;
-  font-size: 11px;
-}
-.taskTextOutsideLeft {
-  fill: black;
-  text-anchor: end;
-  font-size: 11px;
-}
-/* Specific task settings for the sections*/
-.taskText0,
-.taskText1,
-.taskText2,
-.taskText3 {
-  fill: white;
-}
-.task0,
-.task1,
-.task2,
-.task3 {
-  fill: #487e3a;
-  stroke: #13540c;
-}
-.taskTextOutside0,
-.taskTextOutside2 {
-  fill: black;
-}
-.taskTextOutside1,
-.taskTextOutside3 {
-  fill: black;
-}
-/* Active task */
-.active0,
-.active1,
-.active2,
-.active3 {
-  fill: #cde498;
-  stroke: #13540c;
-}
-.activeText0,
-.activeText1,
-.activeText2,
-.activeText3 {
-  fill: black !important;
-}
-/* Completed task */
-.done0,
-.done1,
-.done2,
-.done3 {
-  stroke: grey;
-  fill: lightgrey;
-  stroke-width: 2;
-}
-.doneText0,
-.doneText1,
-.doneText2,
-.doneText3 {
-  fill: black !important;
-}
-/* Tasks on the critical line */
-.crit0,
-.crit1,
-.crit2,
-.crit3 {
-  stroke: #ff8888;
-  fill: red;
-  stroke-width: 2;
-}
-.activeCrit0,
-.activeCrit1,
-.activeCrit2,
-.activeCrit3 {
-  stroke: #ff8888;
-  fill: #cde498;
-  stroke-width: 2;
-}
-.doneCrit0,
-.doneCrit1,
-.doneCrit2,
-.doneCrit3 {
-  stroke: #ff8888;
-  fill: lightgrey;
-  stroke-width: 2;
-  cursor: pointer;
-  shape-rendering: crispEdges;
-}
-.doneCritText0,
-.doneCritText1,
-.doneCritText2,
-.doneCritText3 {
-  fill: black !important;
-}
-.activeCritText0,
-.activeCritText1,
-.activeCritText2,
-.activeCritText3 {
-  fill: black !important;
-}
-.titleText {
-  text-anchor: middle;
-  font-size: 18px;
-  fill: black;
-}
-/*
-
-
-*/
-g.classGroup text {
-  fill: #13540c;
-  stroke: none;
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 14px;
-}
-g.classGroup rect {
-  fill: #cde498;
-  stroke: #13540c;
-}
-g.classGroup line {
-  stroke: #13540c;
-  stroke-width: 1;
-}
-svg .classLabel .box {
-  stroke: none;
-  stroke-width: 0;
-  fill: #cde498;
-  opacity: 0.5;
-}
-svg .classLabel .label {
-  fill: #13540c;
-}
-.relation {
-  stroke: #13540c;
-  stroke-width: 1;
-  fill: none;
-}
-.composition {
-  fill: #13540c;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-#compositionStart {
-  fill: #13540c;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-#compositionEnd {
-  fill: #13540c;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-.aggregation {
-  fill: #cde498;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-#aggregationStart {
-  fill: #cde498;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-#aggregationEnd {
-  fill: #cde498;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-#dependencyStart {
-  fill: #13540c;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-#dependencyEnd {
-  fill: #13540c;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-#extensionStart {
-  fill: #13540c;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-#extensionEnd {
-  fill: #13540c;
-  stroke: #13540c;
-  stroke-width: 1;
-}
-.node text {
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 14px;
-}
-div.mermaidTooltip {
-  position: absolute;
-  text-align: center;
-  max-width: 200px;
-  padding: 2px;
-  font-family: 'trebuchet ms', verdana, arial;
-  font-size: 12px;
-  background: #cdffb2;
-  border: 1px solid #6eaa49;
-  border-radius: 2px;
-  pointer-events: none;
-  z-index: 100;
-}

Fișier diff suprimat deoarece este prea mare
+ 68340 - 2757
static/editor.md/lib/mermaid/mermaid.js


Fișier diff suprimat deoarece este prea mare
+ 0 - 0
static/editor.md/lib/mermaid/mermaid.min.js


Fișier diff suprimat deoarece este prea mare
+ 0 - 17699
static/editor.md/lib/mermaid/mermaid.slim.js


Fișier diff suprimat deoarece este prea mare
+ 0 - 0
static/editor.md/lib/mermaid/mermaid.slim.min.js


Fișier diff suprimat deoarece este prea mare
+ 0 - 49700
static/editor.md/lib/mermaid/mermaidAPI.js


Fișier diff suprimat deoarece este prea mare
+ 0 - 0
static/editor.md/lib/mermaid/mermaidAPI.min.js


Fișier diff suprimat deoarece este prea mare
+ 0 - 40195
static/editor.md/lib/mermaid/mermaidAPI.slim.js


Fișier diff suprimat deoarece este prea mare
+ 0 - 0
static/editor.md/lib/mermaid/mermaidAPI.slim.min.js


+ 1 - 1
views/blog/manage_edit.tpl

@@ -213,7 +213,7 @@
 <script src="{{cdnjs "/static/bootstrap/js/bootstrap.min.js"}}"></script>
 <script src="{{cdnjs "/static/webuploader/webuploader.min.js"}}" type="text/javascript"></script>
 <script src="{{cdnjs "/static/jstree/3.3.4/jstree.min.js"}}" type="text/javascript"></script>
-<script src="{{cdnjs "/static/editor.md/editormd.js" "version"}}" type="text/javascript"></script>
+<script src="{{cdnjs "/static/editor.md/editormd.min.js" "version"}}" type="text/javascript"></script>
 <script src="{{cdnjs "/static/layer/layer.js"}}" type="text/javascript" ></script>
 <script src="{{cdnjs "/static/js/jquery.form.js"}}" type="text/javascript"></script>
 <script src="{{cdnjs "/static/js/array.js" "version"}}" type="text/javascript"></script>

+ 1 - 1
views/document/markdown_edit_template.tpl

@@ -445,7 +445,7 @@
 <script src="{{cdnjs "/static/bootstrap/js/bootstrap.min.js"}}"></script>
 <script src="{{cdnjs "/static/webuploader/webuploader.min.js"}}" type="text/javascript"></script>
 <script src="{{cdnjs "/static/jstree/3.3.4/jstree.min.js"}}" type="text/javascript"></script>
-<script src="{{cdnjs "/static/editor.md/editormd.js" "version"}}" type="text/javascript"></script>
+<script src="{{cdnjs "/static/editor.md/editormd.min.js" "version"}}" type="text/javascript"></script>
 <script src="{{cdnjs "/static/layer/layer.js"}}" type="text/javascript" ></script>
 <script src="{{cdnjs "/static/js/jquery.form.js"}}" type="text/javascript"></script>
 <script src="{{cdnjs "/static/js/array.js" "version"}}" type="text/javascript"></script>

+ 1 - 1
views/manager/config.tpl

@@ -50,7 +50,7 @@
 <script src="{{cdnjs "/static/jquery/1.12.4/jquery.min.js"}}" type="text/javascript"></script>
 <script src="{{cdnjs "/static/bootstrap/js/bootstrap.min.js"}}" type="text/javascript"></script>
 <script src="{{cdnjs "/static/js/jquery.form.js"}}" type="text/javascript"></script>
-<script src="{{cdnjs "/static/editor.md/editormd.js" "version"}}" type="text/javascript"></script>
+<script src="{{cdnjs "/static/editor.md/editormd.min.js" "version"}}" type="text/javascript"></script>
 <script src="{{cdnjs "/static/js/main.js"}}" type="text/javascript"></script>
 <script type="text/javascript">
     $(function() {

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff