-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support injecting Blockly into the shadowDom/Web Component #5230
Comments
Hello, could you provide some more info about this issue? For example:
Once we have a bit more info, we'll be able to better prioritize this =) Best, |
Hi Beka, Basically we need to add blockly to our project which is generated by My js file to load blockly is: and we got error: And i think this issue is due to Blockly doesn't support Web component. The element blocklyDiv is put inside the Shadow DOM, so it cannot initialize properly. Full proj repo (for simple, just try to run it in gitpod): |
Thanks for providing more info! That makes a lot of sense. I've updated the title to provide a bit more info =) For people trying to fix this: If you are looking to fix this, you should test how it works with:
|
Thanks Beka for helping to update this issue. Hope we will have new release to fix it soon. |
@NeilFraser: Does this check exist just to help confused programmers trying to Maybe the check should just be removed, or the |
Apparently dupe of #1114 |
I would like to suggest to have plan to support Web Component with Lit-Element.
The text was updated successfully, but these errors were encountered: