wikijs-fork/views/pages/edit.pug

33 lines
705 B
Plaintext
Raw Normal View History

extends ../layout.pug
2016-08-28 01:46:10 +00:00
block rootNavCenter
2017-02-10 02:35:37 +00:00
h2.nav-item= pageData.meta.title
2016-08-28 01:46:10 +00:00
block rootNavRight
2017-02-10 02:35:37 +00:00
i.nav-item#notifload
span.nav-item
a.button.is-outlined.btn-edit-discard
i.icon-cross
span Discard
a.button.btn-edit-save
i.icon-check
span Save Changes
2016-08-28 01:46:10 +00:00
block content
2017-02-10 02:35:37 +00:00
#page-type-edit(data-entrypath=pageData.meta.path)
.editor-area
textarea#mk-editor= pageData.markdown
2016-08-28 15:27:05 +00:00
2017-02-10 02:35:37 +00:00
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 Loading editor...