How to properly dispose the editor after creating with initializeMonacoService? #439
-
Hi, I am using the provided demo project in this repository and running into the error of How can I properly dispose my editor when creating it using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello, ok there are many things here
When using the view service override, the fallback is only used when the EditorService fails to open the editor for some reasons... It's not really expected to be called in a normal use-case
I'm not sure to understand what you mean here, do you want to to focus an already existing editor containing the target model? it seems to work well (I've just checked)
|
Beta Was this translation helpful? Give feedback.
Hello, ok there are many things here
initializeMonacoService
can only be called once. If you want to re-initialize it with other parameters, you need to refresh the page firstWhen using the view service over…