diff options
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/js/easymde.js | 8 | ||||
-rw-r--r-- | web_src/less/_editor.less | 2 | ||||
-rw-r--r-- | web_src/less/themes/theme-arc-green.less | 6 |
3 files changed, 12 insertions, 4 deletions
diff --git a/web_src/js/easymde.js b/web_src/js/easymde.js new file mode 100644 index 0000000000..39ead02c13 --- /dev/null +++ b/web_src/js/easymde.js @@ -0,0 +1,8 @@ +import EasyMDE from 'easymde'; + +import CodeMirror from 'codemirror/lib/codemirror.js'; + +window.EasyMDE = EasyMDE; +window.SimpleMDE = EasyMDE; +window.CodeMirror = CodeMirror; + diff --git a/web_src/less/_editor.less b/web_src/less/_editor.less index e783267167..4ed211a628 100644 --- a/web_src/less/_editor.less +++ b/web_src/less/_editor.less @@ -29,7 +29,7 @@ opacity: 1 !important; } -.editor-toolbar a:not(:hover) { +.editor-toolbar button:not(:hover) { background-color: transparent !important; } diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index 7f989e1721..e7933e0cc0 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -1784,12 +1784,12 @@ a.ui.labels .label:hover { border-right-color: var(--color-secondary) !important; } -.editor-toolbar a { +.editor-toolbar button { color: #87ab63 !important; } -.editor-toolbar a.active, -.editor-toolbar a:hover { +.editor-toolbar button.active, +.editor-toolbar button:hover { background: #2a2e3a; border-color: transparent; } |