By dmundra on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.4.x
Introduced in version:
11.4.9
Issue links:
Description:
When using addItemToToolbar in a recipe, currently you can only add a single toolbar item to CKEditor within one recipe. Example:
name: Add specialCharacters to Rich Editor
description: 'A recipe to add specialCharacters to the Rich Editor with CKEditor 5'
config:
actions:
editor.editor.full_html:
addItemToToolbar:
item_name: 'specialCharacters'
Drupal core now supports using addItemToToolbar or its alias addItemsToToolbar to add multiple items to the CKEditor toolbar. Example:
name: Add specialCharacters and codeBlock to Rich Editor
description: 'A recipe to add specialCharacters and codeBlock to the Rich Editor with CKEditor 5'
config:
actions:
editor.editor.full_html:
addItemsToToolbar:
- specialCharacters
- codeBlock
Impacts:
Site templates, recipes and distribution developers