Open MatthewWaller opened 2 weeks ago
Hi @MatthewWaller
Thank you for reporting this.
I think the reason to why this doesn't work is that (if I remember correctly) the text binging is not updated continuously, since it would cause the text editor to redraw. Instead, it's synced at certain points.
I'm currently swamped with other projects, but I'll revisit this once iOS 18 is out. My idea is to actually change the text binding at all times, but have a second decoupled text binding that is bound to the editor.
Hello. I have a setup where the I highlight some text in the RichTextEditor, and then make it bold. I'm listening for changes to the attributedString, and if there is a change, I persist it.
Here are the steps and issue I'm seeing. I'm on 1.0.0, on iOS.
Expected result:
Any work arounds?