Webform's default editor violates config schema validation

Created on 7 November 2024, about 1 month ago

Problem/Motivation

If, on Drupal 11, you try to apply a recipe that enables Webform and imports its config, it will die with this nasty wall of errors (reformatted by me for clarity):

Schema errors for editor.editor.webform_default with the following errors:   

editor.editor.webform_default:settings.plugins.ckeditor5_list.reversed missing schema,
editor.editor.webform_default:settings.plugins.ckeditor5_list.startIndex missing schema

 0 [settings.plugins.ckeditor5_list.reversed] 'reversed' is not a supported key.,
1 [settings.plugins.ckeditor5_list.startIndex] 'startIndex' is not a supported key.,
2 [settings.plugins.ckeditor5_list] 'properties' is a required key because settings.plugins.%key is ckeditor5_list (see config schema type ckeditor5.plugin.ckeditor5_list).,
3 [settings.plugins.ckeditor5_list] 'multiBlock' is a required key because settings.plugins.%key is ckeditor5_list (see config schema type ckeditor5.plugin.ckeditor5_list)., 4 [image_upload] 'status' is a required key.

This makes Webform unusable in recipes.

Proposed resolution

Make the default editor conformant with config schema.

πŸ› Bug report
Status

Active

Version

6.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024