Closed (fixed)
Project:
Experience Builder
Version:
0.x-dev
Component:
Page builder
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2024 at 08:10 UTC
Updated:
5 Dec 2024 at 03:24 UTC
Jump to comment: Most recent

Comments
Comment #4
ctrladelThe section previews are actually rendering correctly but are being pushed outside of the tooltip by "undefined" text which was the preview trying to include the css/js header/js footer. css, js_header, and js_footer weren't defined in the component definition which caused the include statements to ultimately be 'undefined' instead of an html string.
Comment #6
bnjmnmGood find @ctrladel ! Fortunately, I don't think we need to make the
css,js_header, andjs_footerproperties "optional" because these properties are guaranteed to be present in a Drupal-provided component list. The issue here was the dummy data in sections.ts was incomplete so updating just that should be sufficient.Comment #7
wim leersComment #8
shyam_bhattComment #10
shyam_bhattComment #14
jessebaker commentedI've merged in the change to fix the "fake sections" preview. @lauriii I'm not sure if this issue should remain open until the actual real implementation of sections is complete or if you are happy that it will be address as part of that work (#3459229: Allow saving component compositions as sections (frontend only))
Comment #15
lauriiiLet's close this one. We can deal with the rest in #3459229: Allow saving component compositions as sections (frontend only) / follow-ups to that.
Comment #16
kristen polcrediting shyam_bhatt (to match the commit) and jessebaker for code and review and lauri for reporting