-
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
Monaco Editor in Webcomponents, disable adding style to root document #2044
Comments
related to #619 |
@jogibear9988 Do you mean that a |
@alexdima yes, but isn't this solution a bit crap? My component does use the style, not the root document. So my component should not modify the outside DOM. So there should be a setting to disable this behavior. |
👍 I agree, that's why I didn't close the issue. The AMD css loader plugin currently does not have any option to disable its functioning. So we can use this issue to track that. |
There will be a new option for configuring:
And that will prevent the CSS loader from creating any |
I use Monaco Editor inside a webcomponent.
My Code looks like this:
This works very well, but the "style" element of the editor is also added to the head of the root document.
Can I stop this?
The text was updated successfully, but these errors were encountered: