diff --git a/bin/server.js b/bin/server.js
index 3ba7b08..e8ccec0 100755
--- a/bin/server.js
+++ b/bin/server.js
@@ -60,6 +60,7 @@ if(DEV) {
statics.addResources('/', BASEDIR, [
'node_modules/requirejs/require.js',
'node_modules/codemirror/lib',
+ 'node_modules/codemirror/addon',
'scripts',
'web/scripts',
]);
diff --git a/index.html b/index.html
index 07c4853..feb6bd2 100644
--- a/index.html
+++ b/index.html
@@ -16,30 +16,12 @@
">
+
Sequence Diagram
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
/DEV -->
@@ -61,7 +68,12 @@
content="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.37.0/codemirror.min.js"
data-integrity="sha256-U/4XQwZXDFDdAHjIZt1Lm7sFfmMiFDZzFYprq6XJ0gk="
>
-
+
+
+
+
-
-
-
+
diff --git a/web/styles/codemirror-override.css b/web/styles/codemirror-override.css
new file mode 100644
index 0000000..3eb6493
--- /dev/null
+++ b/web/styles/codemirror-override.css
@@ -0,0 +1,14 @@
+.CodeMirror-line.error {
+ background: rgba(255, 0, 0, 0.2);
+}
+
+.cm-s-default .cm-keyword {color: #0055CC;}
+.cm-s-default .cm-variable {color: #AA5500;}
+.cm-s-default .cm-operator {color: #0055CC;}
+.cm-s-default .cm-comment {color: #558800;}
+.cm-s-default .cm-string {color: #221111;}
+.cm-s-default .cm-error {color: #FF0000;}
+
+.cm-s-default .cm-trailingspace {
+ background: rgba(255, 0, 0, 0.2);
+}
diff --git a/web/styles/editor.css b/web/styles/editor.css
index 9c3ef99..9f088eb 100644
--- a/web/styles/editor.css
+++ b/web/styles/editor.css
@@ -133,21 +133,6 @@ html, body {
white-space: pre;
}
-.CodeMirror-line.error {
- background: rgba(255, 0, 0, 0.2);
-}
-
-.cm-s-default .cm-keyword {color: #0055CC;}
-.cm-s-default .cm-variable {color: #AA5500;}
-.cm-s-default .cm-operator {color: #0055CC;}
-.cm-s-default .cm-comment {color: #558800;}
-.cm-s-default .cm-string {color: #221111;}
-.cm-s-default .cm-error {color: #FF0000;}
-
-.cm-s-default .cm-trailingspace {
- background: rgba(255, 0, 0, 0.2);
-}
-
.param {
border: 1px solid #CC0000;
margin: -1px;