You are here

bueditor.schema.yml in BUEditor 8.2

Same filename and directory in other branches
  1. 8 config/schema/bueditor.schema.yml
config/schema/bueditor.schema.yml

File

config/schema/bueditor.schema.yml
View source
  1. # Module settings
  2. bueditor.settings:
  3. type: config_object
  4. label: 'BUEditor settings'
  5. mapping:
  6. devmode:
  7. type: boolean
  8. label: 'Enable development mode'
  9. # BUEditor Editor entity
  10. bueditor.editor.*:
  11. type: config_entity
  12. label: 'BUEditor Editor'
  13. mapping:
  14. id:
  15. type: string
  16. label: 'ID'
  17. label:
  18. type: label
  19. label: 'Name'
  20. description:
  21. type: label
  22. label: 'Description'
  23. settings:
  24. type: sequence
  25. label: 'Settings'
  26. sequence:
  27. - type: bueditor.editor_settings.[%key]
  28. # Editor settings
  29. bueditor.editor_settings.toolbar:
  30. type: sequence
  31. label: 'Toolbar'
  32. sequence:
  33. - type: string
  34. label: 'Toolbar item'
  35. bueditor.editor_settings.cname:
  36. type: string
  37. label: 'Class name'
  38. bueditor.editor_settings.indent:
  39. type: boolean
  40. label: 'Enable indentation'
  41. bueditor.editor_settings.acTags:
  42. type: boolean
  43. label: 'Autocomplete HTML tags'
  44. bueditor.editor_settings.fileBrowser:
  45. type: string
  46. label: 'File browser'
  47. # BUEditor Button entity
  48. bueditor.button.*:
  49. type: config_entity
  50. label: 'BUEditor Button'
  51. mapping:
  52. id:
  53. type: string
  54. label: 'ID'
  55. label:
  56. type: label
  57. label: 'Name'
  58. tooltip:
  59. type: label
  60. label: 'Tooltip'
  61. text:
  62. type: string
  63. label: 'Button text'
  64. cname:
  65. type: string
  66. label: 'Class name'
  67. shortcut:
  68. type: string
  69. label: 'Shortcut'
  70. code:
  71. type: string
  72. label: 'Code'
  73. template:
  74. type: string
  75. label: 'Template'
  76. libraries:
  77. type: sequence
  78. label: 'Required libraries'
  79. sequence:
  80. - type: string
  81. label: 'Library name'
  82. # Editor module plugin
  83. editor.settings.bueditor:
  84. type: mapping
  85. label: 'BUEditor settings'
  86. mapping:
  87. default_editor:
  88. type: string
  89. label: 'Default editor'
  90. roles_editors:
  91. type: sequence
  92. label: 'Roles editors'
  93. sequence:
  94. - type: string
  95. label: 'Role editor'