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.

44 lines
1.4 KiB

  1. <template lang='pug'>
  2. v-card(flat)
  3. v-card(flat, :color='$vuetify.dark ? "grey darken-4" : "grey lighten-5"').pa-3.pt-4
  4. .headline.primary--text Editor
  5. .subheading.grey--text Configure the content editor
  6. v-tabs(:color='$vuetify.dark ? "primary" : "grey lighten-4"', fixed-tabs, :slider-color='$vuetify.dark ? "white" : "primary"', show-arrows)
  7. v-tab(key='settings'): v-icon settings
  8. v-tab(key='code') Markdown
  9. v-tab-item(key='settings', :transition='false', :reverse-transition='false')
  10. v-card.pa-3
  11. v-form
  12. v-radio-group(v-model='selectedEditor')
  13. v-radio(v-for='(editor, n) in editors', :key='n', :label='editor.text', :value='editor.value', color='primary')
  14. v-divider
  15. v-btn(color='primary')
  16. v-icon(left) chevron_right
  17. | Set Editor
  18. v-btn(icon)
  19. v-icon.grey--text refresh
  20. v-tab-item(key='code', :transition='false', :reverse-transition='false')
  21. v-card.pa-3
  22. v-form
  23. v-subheader Editor Configuration
  24. .body-1 This editor has no configuration options you can modify.
  25. </template>
  26. <script>
  27. export default {
  28. data() {
  29. return {
  30. editors: [
  31. { text: 'Markdown (default)', value: 'code' }
  32. ],
  33. selectedEditor: 'code'
  34. }
  35. }
  36. }
  37. </script>
  38. <style lang='scss'>
  39. </style>