However, the EditorContent property you implemented in Monaco/MonacoEditor.xaml.cs doesn't update with the editor content when I edit it within the editor control.
Most likely the MS implementation assumes that it will not be updated externally, but only through the property itself (the call to SetValue()).
I did try to implement a GetContentAsync Method, and it seems to basically do the trick, but I'm just too unfamiliar with developing custom WinUI controls, and the webview this is based on. 😅
Hi,
first of all love this project. Currently trying to implement it in mine: https://github.com/LightJack05/Pyrux/tree/monaco-editor
However, the EditorContent property you implemented in Monaco/MonacoEditor.xaml.cs doesn't update with the editor content when I edit it within the editor control. Most likely the MS implementation assumes that it will not be updated externally, but only through the property itself (the call to SetValue()).
I did try to implement a GetContentAsync Method, and it seems to basically do the trick, but I'm just too unfamiliar with developing custom WinUI controls, and the webview this is based on. 😅
Hope you can fix this, or if it's on me, tell me what I'm doing wrong. 😉