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.

29 lines
849 B

  1. extends ../layout.pug
  2. block rootNavCenter
  3. h2.nav-item= pageData.meta.title
  4. block rootNavRight
  5. loading-spinner
  6. span.nav-item
  7. a.button.is-outlined(v-on:click='$store.dispatch("modalDiscardPage/open")')
  8. i.nc-icon-outline.ui-1_simple-remove
  9. span= t('nav.discard')
  10. a.button(v-on:click='$root.$emit("editor/save")')
  11. i.nc-icon-outline.ui-1_check
  12. span= t('nav.savechanges')
  13. block content
  14. editor(inline-template, current-path=pageData.meta.path, v-cloak)
  15. .columns.is-gapless
  16. .column.editor-area
  17. textarea(ref='editorTextArea', v-pre)= pageData.markdown
  18. //- .column.editor-sd
  19. .editor-sd-item Images
  20. .editor-sd-item Files
  21. editor-file
  22. editor-video
  23. editor-codeblock
  24. modal-discard-page(mode='edit', current-path=pageData.meta.path)
  25. page-loader(text=t('loading.editor'))