Closed svenboulanger closed 1 year ago
Hi @svenboulanger.
The error is about the fact that text/css
is not one of the predefined languages in Monaco Editor. I suppose you're trying to use the editor for css. If so, you can set language to css
. There is a list of supported languages here.
The warnings are actually expected. Before creating a new editor instance, it checks to see if there's already an existing editor instance with that id. That log is written at that moment that this is the first instance with that id and it's safe to move on. But I see that this log causes a confusion. I'll take a note not to remove it. But, you can go ahead and use it as all is fine.
I am also getting same error using mudblazor dialogs
I'm trying to migrate from v2.1 to 3.0 and I'm having some issues.
I have removed as many potential issues I could find, but am encountering the following console messages in the browser:
In my
index.html
, I'm using the following possibly relevant script definitions (I am using Brotli compression for statically hosted files):In my
Index.razor
page, I have the following definitions:And the provider for the style options:
If I change the language from "text/css" to "javascript" (like in the example in the readme) I can get rid of the errors, but the warnings remain.