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

Command icon 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

jstoller created an issue. See original summary.

nakaza sora’s picture

Assigned: Unassigned » nakaza sora

nakaza sora’s picture

Assigned: nakaza sora » Unassigned
Status: Active » Needs review

Added 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!

jstoller’s picture

Status: Needs review » Reviewed & tested by the community

MR!24 applies and works as advertised.

rajab natshah’s picture

Status: Reviewed & tested by the community » Fixed

Fixed 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.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.