Active
Project:
Drupal Canvas
Version:
1.x-dev
Component:
Component sources
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Feb 2025 at 18:31 UTC
Updated:
11 Aug 2025 at 19:25 UTC
Jump to comment: Most recent


Comments
Comment #2
wim leersAFAICT this is because some of Olivero's styles (aka the
defaulttheme akasystem.theme:defaultin the screenshot) are not injected into the component'scssand/orheader_js, for itsdefault_markup.IOW:
\Drupal\experience_builder\Plugin\ExperienceBuilder\ComponentSource\BlockComponent::getClientSideInfo()would need to changeto something like
Although arguably, this is a bug in
\Drupal\system\Plugin\Block\SystemBrandingBlock::build()… but as far as that implementation is concerned, XB's rendering-in-isolation of this block is an unexpected use case.But I think I see a possible heuristic for this:
Something like that?
Comment #3
wim leersComment #4
wim leersComment #5
wim leersComment #6
thoward216 commentedHad a look into this issue and got the library attached using similar code as shown in #2 but the preview still did not appear to update as expected. Requires further investigation.
Comment #7
wim leersThanks, @thoward216!
Comment #8
lauriiiSince this only impacts the preview before adding components to a page, it doesn't seem this would have to block a stable release. We may still want to look into this since there might be other ways in which the preview is inaccurate.