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.

45 lines
1.3 KiB

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