Replies: 1 comment
-
I'm not sure that is true. You can already register language features without having to create a code editor! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
Description
I have upgraded the version of monaco-editor and monco-webpack-plugin editor to the latest one.
Themes were managed globally on the
window.monaco
object, but since that doesn’t exist until a code editor is rendered, we usedStaticServices.standaloneThemeService.get();
to register our themes.This seems to be unavailable in newer Monaco versions, based on the inability to import
StandaloneServices
, and this comment in [the source]So is there any workaround solution in which we can pass our custom theme config to colorize elements?
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Beta Was this translation helpful? Give feedback.
All reactions