Rewrite markdown editor in vanilla Javascript

This commit is contained in:
Frederic Guillot
2016-11-21 21:53:30 -05:00
parent ba900817b6
commit 5188ed8cfe
9 changed files with 262 additions and 180 deletions

View File

@@ -1,19 +1,16 @@
@import variables
.text-editor
button
a
font-size: size('normal')
border: none
color: color('light')
background: transparent
text-decoration: none
margin-right: 10px
&: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
padding: 2px