Commit 24f54620 authored by alexpott's avatar alexpott

Issue #1964648 by vijaycs85: Create configuration schemas for editor module.

parent c014519c
# Schema for the configuration files of the CKEditor module.
editor.settings.ckeditor:
type: mapping
label: 'CKEditor settings'
mapping:
toolbar:
type: mapping
label: 'Toolbar configuration'
mapping:
buttons:
type: sequence
label: 'Rows'
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 dropdown'
mapping:
styles:
type: string
label: 'List of styles'
# Schema for the configuration files of the Editor module.
editor.editor.*:
type: mapping
label: 'Text editor'
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: 'Language'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment