diff --git a/core/modules/ckeditor/config/schema/ckeditor.schema.yml b/core/modules/ckeditor/config/schema/ckeditor.schema.yml new file mode 100644 index 0000000..1d69d3d --- /dev/null +++ b/core/modules/ckeditor/config/schema/ckeditor.schema.yml @@ -0,0 +1,33 @@ +# Schema for the configuration files of the CKEditor module. + +editor.settings.ckeditor: + type: mapping + label: 'Settings' + mapping: + toolbar: + type: mapping + label: 'Toolbar configuration' + mapping: + buttons: + type: sequence + label: 'Active toolbar' + sequence: + - type: sequence + label: 'Buttons' + sequence: + - type: string + label: 'Button' + plugins: + type: sequence + label: 'Plugins' + sequence: + - type: ckeditor.plugin.[%key] + +# Plugin \Drupal\ckeditor\Plugin\ckeditor\plugin\StylesCombo +ckeditor.plugin.stylescombo: + type: mapping + label: 'Styles combo' + mapping: + styles: + type: string + label: 'Style' diff --git a/core/modules/editor/config/schema/editor.schema.yml b/core/modules/editor/config/schema/editor.schema.yml new file mode 100644 index 0000000..0457a6b --- /dev/null +++ b/core/modules/editor/config/schema/editor.schema.yml @@ -0,0 +1,20 @@ +# Schema for the configuration files of the Editor module. + +editor.editor.*: + type: mapping + label: 'Contact category' + mapping: + format: + type: string + label: 'Name' + editor: + type: string + label: 'Text editor' + settings: + type: editor.settings.[%parent.editor] + status: + type: boolean + label: 'Status' + langcode: + type: string + label: 'Default language'