- Issue created by @someshver
- Issue was unassigned.
- Status changed to Closed: outdated
4 months ago 1:22pm 18 July 2024
I am using the other ckeditor patches for example ( https://www.drupal.org/project/drupal/issues/3274635 ✨ [upstream] Use CKEditor 5's native and UX Needs work ) and I am getting an error when I use some patches from this module. The error was
Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "ckeditor5_list" CKEditor 5 plugin definition is configurable, but its default configuration does not match its config schema. The following errors were found: [properties.styles] missing schema. in Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition->validateDrupalAspects() (line 190 of core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php).
So I have debugged the issue and find out that this module's schema file contained some of the plugins configuration which are not needed by this module (web/modules/contrib/ckeditor5_icons/config/schema/ckeditor5_icons.schema.yml).
"drupal/ckeditor5_font": {
"Fix issue with schema": "https://www.drupal.org/files/issues/2024-06-25/ckeditor5_font-schema-fix-10.3.x-3368736-48_0.patch",
"Fix issue with empty config": "https://www.drupal.org/files/issues/2023-04-21/3350333-5.patch"
}
Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "ckeditor5_list" CKEditor 5 plugin definition is configurable, but its default configuration does not match its config schema. The following errors were found: [properties.styles] missing schema. in Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition->validateDrupalAspects() (line 190 of core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php).
Closed: outdated
1.1
Code