vanillawc/wc-monaco-editor

Does not work in Shadow Dom

philkunz opened this issue · 1 comments

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.

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.