Im trying to get the text from a monaco page but it keeps returning the "full" string: image
But this is the code in monaco: image
Here is the code I used:
MessageBox.Show(await Monaco.CoreWebView2.ExecuteScriptAsync("editor.getValue()"), "Monaco text:");
this is in a async function connected to one of my buttons.