Details
-
Task
-
Resolution: Fixed
-
Medium
-
4.3.0
-
None
-
None
Description
In page builder you can define fields for a block. In 4.3 it seems that adding more than one richtext field to a block makes the Universal Discovery Widget not open. This is for toolbar items like Embed, image, etc.
See attached video for demonstration.. Clicking on the buttons opening UDW result in the following error
ibexa-richtext-onlineeditor-js.js:2 Uncaught TypeError: Cannot read properties of null (reading 'content') at i.value (ibexa-richtext-onlineeditor-js.js:2:282366) at i.fire (ibexa-richtext-onlineeditor-js.js:2:96439) at n.<anonymous> (ibexa-richtext-onlineeditor-js.js:2:273802) at t.o (ibexa-richtext-onlineeditor-js.js:2:156121) at t.fire (ibexa-richtext-onlineeditor-js.js:2:96439) at HTMLButtonElement.n (ibexa-richtext-onlineeditor-js.js:2:161931)
Steps to reproduce:
- Install Ibexa DXP 4.3.0 experience
- Configure new block with two rich text fields (Helse example from Solution Architects code and configuration below + attached)
- Create new landing page
- Add block with two
- Click on embed widget
- Observe error
Block configuration used:
teaser_text_left_right_image_bottom: views: teaser: template: '@ibexadesign/blocks/matrix/two_line/teaser_text_left_right_image_bottom.html.twig' name: 'Text Side by Side + Image' name: 'Side by Side Text & Image' category: Prototype thumbnail: '/bundles/ibexaprototypepage/images/blocks/matrix.svg#matrix-two-bot' attributes: text_left: name: 'Text left' type: richtext text_right: name: 'Text right' type: richtext image: name: 'Image' type: embed subtitle: name: 'Subtitle' type: string label: name: 'Button label' type: string link: name: 'Button link' type: string