Replace SimpleMDE with custom Markdown editor

This commit is contained in:
Frederic Guillot
2016-11-13 22:51:59 -05:00
parent 527a1677a0
commit ebb6b2827d
22 changed files with 1057 additions and 498 deletions

View File

@@ -1,15 +1,19 @@
.markdown-editor-container
max-width: 400px
@import variables
div
&.CodeMirror, &.CodeMirror-scroll
max-height: 250px
min-height: 200px
.markdown-editor-small div
&.CodeMirror, &.CodeMirror-scroll
min-height: 100px
max-height: 180px
.form-column div.CodeMirror
margin-bottom: 10px
.text-editor
button
font-size: size('normal')
border: none
color: color('light')
background: transparent
&:hover
color: link-color('primary')
cursor: pointer
.text-editor-preview-area
border: 1px solid color('lighter')
width: 400px
height: 200px
overflow: auto
.text-editor-toolbar
button:first-child
padding-left: 0