2016-09-05 23:23:49 +00:00
|
|
|
extends ../layout.pug
|
2016-08-30 02:19:47 +00:00
|
|
|
|
|
|
|
block rootNavCenter
|
2017-05-03 01:41:22 +00:00
|
|
|
h2.nav-item= t('header.createdoc')
|
2016-08-30 02:19:47 +00:00
|
|
|
|
|
|
|
block rootNavRight
|
2017-02-10 02:35:37 +00:00
|
|
|
i.nav-item#notifload
|
|
|
|
span.nav-item
|
|
|
|
a.button.is-outlined.btn-create-discard
|
|
|
|
i.icon-cross
|
2017-05-03 01:41:22 +00:00
|
|
|
span= t('nav.discard')
|
2017-02-10 02:35:37 +00:00
|
|
|
a.button.btn-create-save
|
|
|
|
i.icon-check
|
2017-05-03 01:41:22 +00:00
|
|
|
span= t('nav.savedocument')
|
2016-08-30 02:19:47 +00:00
|
|
|
|
|
|
|
block content
|
|
|
|
|
2017-02-10 02:35:37 +00:00
|
|
|
#page-type-create(data-entrypath=pageData.meta.path)
|
|
|
|
.editor-area
|
|
|
|
textarea#mk-editor= pageData.markdown
|
2016-08-30 02:19:47 +00:00
|
|
|
|
2017-02-10 02:35:37 +00:00
|
|
|
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
|
2017-04-03 03:27:07 +00:00
|
|
|
|
|
|
|
block outside
|
|
|
|
#page-loader
|
|
|
|
i
|
2017-05-03 01:41:22 +00:00
|
|
|
span= t('loading.editor')
|