configure.js 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { defaultMenus } from './config'
  2. export default {
  3. key: {},
  4. label: {},
  5. description: {},
  6. isMainField: {},
  7. hideLabel: {},
  8. labelWidth: {},
  9. height: {
  10. label: '高度',
  11. type: 'select',
  12. allowCreate: true,
  13. options: ['150', '200', '250', '300', '400']
  14. },
  15. menus: {
  16. label: '菜单配置',
  17. type: 'select',
  18. multiple: true,
  19. options: defaultMenus
  20. },
  21. menuTooltipPosition: {
  22. label: '菜单栏提示位置',
  23. type: 'select',
  24. options: ['up', 'down']
  25. },
  26. showMenuTooltips: {
  27. label: '是否显示菜单栏提示',
  28. type: 'switch',
  29. defaultValue: true
  30. },
  31. showFullScreen: {
  32. label: '开启全屏功能',
  33. type: 'switch',
  34. defaultValue: true
  35. },
  36. pasteFilterStyle: {
  37. label: '是否开启粘贴样式过滤',
  38. type: 'switch',
  39. defaultValue: true
  40. },
  41. pasteIgnoreImg: {
  42. label: '是否忽略粘贴内容的图片',
  43. type: 'switch',
  44. defaultValue: true
  45. },
  46. required: { },
  47. requiredErrorMessage: { }
  48. }