stevengharris/MarkupEditor

Can't track changes in text editor

NourGweda1 opened this issue · 3 comments

Can't track changes in the text editor,
the text stays the same even after editing.
Need help fixing this so I can see the changes I make in the editor.

See the flow in DemoContentView starting at markupInput. All interaction with the MarkupWKWebView is async. You need to use getHtml to pull the changed text.

hello,
I Tried to run the swiftui code but it didn't show any result regarding the onChange of rich text , here's a snap shot of what I edited in the code to see any result

Screenshot 2024-01-02 at 2 52 04 PM