2016-09-05 19:23:49 -04:00
|
|
|
extends ../layout.pug
|
2016-08-27 21:46:10 -04:00
|
|
|
|
|
|
|
block rootNavCenter
|
2017-02-09 21:35:37 -05:00
|
|
|
h2.nav-item= pageData.meta.title
|
2016-08-27 21:46:10 -04:00
|
|
|
|
|
|
|
block rootNavRight
|
2017-05-27 18:03:24 -04:00
|
|
|
loading-spinner
|
2017-02-09 21:35:37 -05:00
|
|
|
span.nav-item
|
2017-05-27 18:03:24 -04:00
|
|
|
a.button.is-outlined(v-on:click='$store.dispatch("modalDiscardPage/open")')
|
2017-06-18 18:35:33 -04:00
|
|
|
i.nc-icon-outline.ui-1_simple-remove
|
2017-05-02 21:41:22 -04:00
|
|
|
span= t('nav.discard')
|
2017-05-28 14:34:50 -04:00
|
|
|
a.button(v-on:click='$root.$emit("editor/save")')
|
2017-06-18 18:35:33 -04:00
|
|
|
i.nc-icon-outline.ui-1_check
|
2017-05-02 21:41:22 -04:00
|
|
|
span= t('nav.savechanges')
|
2016-08-27 21:46:10 -04:00
|
|
|
|
|
|
|
block content
|
2017-05-27 18:03:24 -04:00
|
|
|
editor(inline-template, current-path=pageData.meta.path, v-cloak)
|
2017-06-11 17:55:06 -04:00
|
|
|
.columns.is-gapless
|
|
|
|
.column.editor-area
|
|
|
|
textarea(ref='editorTextArea', v-pre)= pageData.markdown
|
2017-07-08 17:33:09 -04:00
|
|
|
//- .column.editor-sd
|
2017-06-11 17:55:06 -04:00
|
|
|
.editor-sd-item Images
|
|
|
|
.editor-sd-item Files
|
2017-04-02 23:27:07 -04:00
|
|
|
|
2017-06-04 23:16:00 -04:00
|
|
|
editor-file
|
2017-05-28 20:30:58 -04:00
|
|
|
editor-video
|
2017-05-28 14:34:50 -04:00
|
|
|
editor-codeblock
|
2017-05-27 18:03:24 -04:00
|
|
|
modal-discard-page(mode='edit', current-path=pageData.meta.path)
|
|
|
|
page-loader(text=t('loading.editor'))
|