mirror of https://github.com/Requarks/wiki.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
685 B
25 lines
685 B
extends ../layout.pug
|
|
|
|
block rootNavCenter
|
|
h2.nav-item= pageData.meta.title
|
|
|
|
block rootNavRight
|
|
loading-spinner
|
|
span.nav-item
|
|
a.button.is-outlined(v-on:click='$store.dispatch("modalDiscardPage/open")')
|
|
i.icon-cross
|
|
span= t('nav.discard')
|
|
a.button(v-on:click='$root.$emit("editor/save")')
|
|
i.icon-check
|
|
span= t('nav.savechanges')
|
|
|
|
block content
|
|
editor(inline-template, current-path=pageData.meta.path, v-cloak)
|
|
.editor-area
|
|
textarea(ref='editorTextArea', v-pre)= pageData.markdown
|
|
|
|
editor-file
|
|
editor-video
|
|
editor-codeblock
|
|
modal-discard-page(mode='edit', current-path=pageData.meta.path)
|
|
page-loader(text=t('loading.editor'))
|