Did I mention I use arch btw?
Replied
All you need to do is write this code
//Omg omg pls take text from Monaco please..
And that's it enjoy
Cancel
Post
fka as delta
Replied
just use a PareX webview api
public async Task<string> GetText()
{
if (isDOMLoaded)
{
await this.ExecuteScriptAsync("window.chrome.webview.postMessage(editor.getValue())");
await Task.Delay(200);
return LatestRecievedText;
}
return string.Empty;
}Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post