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
- Install Drupal 11.3+ with the Varbase profile.
- Proceed through installation to the Recipes step.
- Select any recipe set and click "Assemble and install".
- The batch fails with the above exceptions.
Root cause
Two separate issues in the same module:
-
basic_html:
config/optional/editor.editor.basic_html.ymluses
the deprecated keyrtl_default: falseunderckeditor_bidi_ckeditor5.
Theckeditor_bidischema only definesswitch_only, notrtl_default. -
full_html:
config/optional/editor.editor.full_html.ymlincludes
thedirectiontoolbar item (which activates theckeditor_bidi_ckeditor5plugin)
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-9.2.0, varbase_editor-9.2.14
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
fix: #3578506 InvalidConfigException: rtl_default is not a supported key for CKEditor BiDi Buttons in basic_html and full_html
Comments
Comment #6
rajab natshah✅ Released varbase_editor-9.2.14
Comment #8
rajab natshah✅ Released varbase-9.2.0
Comment #9
rajab natshahComment #10
rajab natshah✅ Released varbase_editor-10.1.3