Added code editor mode selection
This commit is contained in:
@@ -8,9 +8,8 @@
|
||||
.column.is-narrow
|
||||
p.control
|
||||
span.select
|
||||
select(style={width: '300px'})
|
||||
option Plain text
|
||||
option C#
|
||||
select(style={width: '300px'}, v-model='modeSelected')
|
||||
option(v-for="mode in modes" v-bind:value='mode.name') {{ mode.caption }}
|
||||
.column.is-narrow
|
||||
a.button.is-warning.is-outlined Cancel
|
||||
.column.is-narrow
|
||||
|
@@ -18,6 +18,7 @@ block rootNavRight
|
||||
block content
|
||||
|
||||
#page-type-create(data-entrypath=pageData.meta.path)
|
||||
textarea#mk-editor= pageData.markdown
|
||||
.editor-area
|
||||
textarea#mk-editor= pageData.markdown
|
||||
|
||||
include ../modals/create-discard.pug
|
@@ -18,7 +18,8 @@ block rootNavRight
|
||||
block content
|
||||
|
||||
#page-type-edit(data-entrypath=pageData.meta.path)
|
||||
textarea#mk-editor= pageData.markdown
|
||||
.editor-area
|
||||
textarea#mk-editor= pageData.markdown
|
||||
|
||||
include ../modals/edit-discard.pug
|
||||
include ../modals/editor-link.pug
|
||||
|
Reference in New Issue
Block a user