Replies: 1 comment
-
Hmm...i think it might be better to ask on the monaco repo! |
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
Uh oh!
There was an error while loading. Please reload this page.
-
How do I get a reference to the editor's instance in Javascript? I believe code-server uses the monaco editor, right?
I'm looking to write some Javascript to extract the value of the current text in the editor, and I believe with Monaco I can just do
editor.getValue()
but I need a reference to the current editor.
thanks
Beta Was this translation helpful? Give feedback.
All reactions