Problem/Motivation
In Drupal 11, saving a text format that uses the Ace editor generates a warning message like the following:
Schema errors for editor.editor.full_html with the following errors: editor.editor.full_html:settings missing schema. These errors mean there is configuration that does not comply with its schema. This is not a fatal error, but it is recommended to fix these issues. For more information on configuration schemas, check out <a href="https://www.drupal.org/docs/drupal-apis/configuration-api/configuration-schemametadata">the documentation</a>.
Proposed resolution
Update the module's schema to support its configuration.
Remaining tasks
- ✅ File an issue
- ➖ Addition/Change/Update/Fix
- ➖ Testing to ensure no regression
- ➖ Automated unit testing coverage
- ➖ Automated functional testing coverage
- ➖ UX/UI designer responsibilities
- ➖ Readability
- ➖ Accessibility
- ➖ Performance
- ➖ Security
- ➖ Documentation
- ➖ Code review by maintainers
- ➖ Full testing and approval
- ➖ Credit contributors
- ➖ Review with the product owner
- ➖ Release notes snippet
- ❌ Release
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- N/A
Issue fork ace_editor-3605370
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nakaza sora commentedComment #4
nakaza sora commentedAdded the missing `editor.settings.ace_editor` config schema (settings nested under `fieldset`, matching how the editor saves them) to fix the "missing schema" warning. Verified locally that the warning is gone after the change. MR is ready for the 2.0.x branch — please review when you have a chance.
Thanks!
Comment #5
jstollerMR!24 applies and works as advertised.
Comment #6
rajab natshahFixed on 2.0.x by #3618752: the schema now covers both the nested and the flat shape of the editor settings, and the typed configuration resolves editor.settings.ace_editor instead of reporting a missing schema.