feat: editor page props UI improvements + codemirror fix

This commit is contained in:
Nick
2019-08-31 22:10:58 -04:00
parent cc469d8785
commit 8e80b7471d
7 changed files with 313 additions and 262 deletions

View File

@@ -13,7 +13,7 @@ import _ from 'lodash'
// ========================================
// Code Mirror
import { codemirror } from 'vue-codemirror'
import CodeMirror from 'codemirror'
import 'codemirror/lib/codemirror.css'
// Language
@@ -41,9 +41,6 @@ const CtrlKey = /Mac/.test(navigator.platform) ? 'Cmd' : 'Ctrl'
// ========================================
export default {
components: {
codemirror
},
data() {
return {
code: '<h1>Title</h1>\n\n<p>Some text here</p>',