Skip to content
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

Does not work in Shadow Dom #19

Open
philkunz opened this issue Mar 11, 2022 · 1 comment
Open

Does not work in Shadow Dom #19

philkunz opened this issue Mar 11, 2022 · 1 comment

Comments

@philkunz
Copy link

Hi,

I tried using the element in ShadowDom, and it does not work.

I've created a webcomonent that works in Shadow Dom. However the styling is off...

https://gitlab.com/designestate/dees-editor/-/blob/master/ts_web/elements/dees-editor.ts

maybe someone can solve it, how to properly make styling work, even when nested in Shadow Dom.

@philkunz
Copy link
Author

This issue is now being addressed here: microsoft/monaco-editor#3017

You should change the implementation here to use shadow dom as well, when the above issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant