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.
wiki/server/views/pages/create.pug

33 lines
738 B

extends ../layout.pug
block rootNavCenter
h2.nav-item= t('header.createdoc')
block rootNavRight
i.nav-item#notifload
span.nav-item
a.button.is-outlined.btn-create-discard
i.icon-cross
span= t('nav.discard')
a.button.btn-create-save
i.icon-check
span= t('nav.savedocument')
block content
#page-type-create(data-entrypath=pageData.meta.path)
.editor-area
textarea#mk-editor= pageData.markdown
include ../modals/create-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')