Problem/Motivation

When installing Varbase with Drupal 11.3+, the recipe assembly step fails with an InvalidConfigException for both editor.editor.basic_html and editor.editor.full_html:

  Drupal\Core\Recipe\InvalidConfigException: There were validation errors in editor.editor.basic_html:
  - settings.plugins.ckeditor_bidi_ckeditor5.rtl_default: 'rtl_default' is not a supported key.

  Drupal\Core\Recipe\InvalidConfigException: There were validation errors in editor.editor.full_html:
  - settings.plugins.ckeditor_bidi_ckeditor5: Configuration for the enabled plugin "Bidi Buttons"
    (ckeditor_bidi_ckeditor5) is missing.
  

Steps to reproduce

  1. Install Drupal 11.3+ with the Varbase profile.
  2. Proceed through installation to the Recipes step.
  3. Select any recipe set and click "Assemble and install".
  4. The batch fails with the above exceptions.

Root cause

Two separate issues in the same module:

  1. basic_html: config/optional/editor.editor.basic_html.yml uses
    the deprecated key rtl_default: false under ckeditor_bidi_ckeditor5.
    The ckeditor_bidi schema only defines switch_only, not rtl_default.
  2. full_html: config/optional/editor.editor.full_html.yml includes
    the direction toolbar item (which activates the ckeditor_bidi_ckeditor5 plugin)
    but has no corresponding plugin configuration block at all.

Proposed resolution

In config/optional/editor.editor.basic_html.yml, replace:

      ckeditor_bidi_ckeditor5:
        rtl_default: false
  

with:

      ckeditor_bidi_ckeditor5:
        switch_only: false
  

In config/optional/editor.editor.full_html.yml, add the missing plugin configuration after ckeditor5_sourceEditing:

      ckeditor5_sourceEditing:
        allowed_tags: {  }
      ckeditor_bidi_ckeditor5:
        switch_only: false
  

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A

Comments

rajab natshah created an issue.

  • rajab natshah committed 923a7176 on 10.1.x
    fix: #3578506 InvalidConfigException: rtl_default is not a supported key...

  • rajab natshah committed 2d93729d on 10.1.x
    feat: #3578506 InvalidConfigException: rtl_default is not a supported...

  • rajab natshah committed 7613121d on 10.0.x
    fix: #3578506 InvalidConfigException: rtl_default is not a supported key...

  • rajab natshah committed 3c4d7875 on 9.2.x
    fix: #3578506 InvalidConfigException: rtl_default is not a supported key...