Updating the text in MonacoEditorReactComp #703
Unanswered
Lemour-sudo
asked this question in
Q&A
Replies: 1 comment
-
Hi @Lemour-sudo I think this is related to this #697 (comment) There must be a more easy way to issue and update of the component. The re-evaluation logic for just update or restart of the wrapper/editor is already present, but there is no easy way to trigger it. |
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.
-
Is it possible to exit the text in the
MonacoEditorReactComp
through an external method like a state function?I am trying to enable resetting the the text in the
MonacoEditorReactComp
through a react state but cannot find a way without re-rendering the whole component which makes the editing weird (the cursor resets to the initial position:Beta Was this translation helpful? Give feedback.
All reactions