wikijs-fork/server/views/pages/edit.pug
2017-05-02 21:41:22 -04:00

33 lines
727 B
Plaintext

extends ../layout.pug
block rootNavCenter
h2.nav-item= pageData.meta.title
block rootNavRight
i.nav-item#notifload
span.nav-item
a.button.is-outlined.btn-edit-discard
i.icon-cross
span= t('nav.discard')
a.button.btn-edit-save
i.icon-check
span= t('nav.savechanges')
block content
#page-type-edit(data-entrypath=pageData.meta.path)
.editor-area
textarea#mk-editor= pageData.markdown
include ../modals/edit-discard.pug
include ../modals/editor-link.pug
include ../modals/editor-image.pug
include ../modals/editor-file.pug
include ../modals/editor-video.pug
include ../modals/editor-codeblock.pug
block outside
#page-loader
i
span= t('loading.editor')