You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building web components with Storyblok isn't fully workable, because the Bridge can't access the shadow DOM.
Expected Behavior
If I call the Storyblok-API with the bridge from inside a Web Component, it should be possible to use the full Bridge-functionality.
Current Behavior
U can take the events and response to that, but u can't click on components inside / access the "Component Menus".
Steps to Reproduce
if u like i can create an example project with the problem shwon, but it's simple:
create web component with storyblok-sdk inside
load web component in shadow dom
try to edit something in the visual editor
In my opinion is the problem, that the script ist loaded into the head, interacts with the body-tag only and it queries through the document, but these are all things, that havent's access to components in shadow DOM (and no, I can't just drop the shadow DOM ^^).
Or do I make any mistakes?! 😅
The text was updated successfully, but these errors were encountered:
Building web components with Storyblok isn't fully workable, because the Bridge can't access the shadow DOM.
Expected Behavior
If I call the Storyblok-API with the bridge from inside a Web Component, it should be possible to use the full Bridge-functionality.
Current Behavior
U can take the events and response to that, but u can't click on components inside / access the "Component Menus".
Steps to Reproduce
if u like i can create an example project with the problem shwon, but it's simple:
In my opinion is the problem, that the script ist loaded into the head, interacts with the body-tag only and it queries through the
document
, but these are all things, that havent's access to components in shadow DOM (and no, I can't just drop the shadow DOM ^^).Or do I make any mistakes?! 😅
The text was updated successfully, but these errors were encountered: