Closed (fixed)
Project:
Experience Builder
Version:
0.x-dev
Component:
Theme builder
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2025 at 03:20 UTC
Updated:
27 May 2025 at 21:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wim leersSee #3507929-2: Allow adding "image" props in the code component editor for how the BE piece can be unblocked there, with one difference: here we need to set
Comment #3
wim leersThis issue needs to get a BE MR that is 99% identical to that in #3507929: Allow adding "image" props in the code component editor: same new validation constraint, just a different set of enabled choices. Let's first land that one, which then leaves only a tiny additional
*.schema.yml+ test coverage only change to be done over here.Comment #4
wim leersComment #5
wim leersComment #6
f.mazeikis commentedComment #8
wim leersBlocker's in.
Comment #10
wim leersComment #12
balintbrewsComment #14
wim leersFYI: XB's OpenAPI validation may disallow and we forgot about an integration test for this — see #3507929-19: Allow adding "image" props in the code component editor.
Comment #16
hooroomooComment #17
hooroomooComment #18
wim leers🤩
I think reusing the existing
ui/src/components/form/components/TextArea.tsxwould prepare us better for CKEditor 5 support in the future? See https://git.drupalcode.org/project/experience_builder/-/merge_requests/7....Comment #20
balintbrewsFantastic work! 👏🏻
Just noting here that as things are, code component authors will need to add
white-space: pre;(orwhitespace-prewith Tailwind) until we introduce using thenl2br()function in the backend before passing the prop values. (@effulgentsia looked up the backend parts.)Comment #21
nagwani commented