- Issue created by @mglaman
- πΊπΈUnited States effulgentsia
Within the preview/canvas iframe, global assets are rendered via
drupalSettings.xb.globalAssets
, which includes jsFooter. Can you clarify steps to reproduce the bug you're seeing? - πΊπΈUnited States mglaman WI, USA
We're adding extra libraries to the editor using
KernelEvents::RESPONSE => ['onRespond', 50]
for$route_name === 'entity.xb_page.edit_form' || $route_name === 'experience_builder.experience_builder'
and:$response->addAttachments([ 'library' => [ 'module/our-library', ], ]);