I'm utilizing Daniel Saidi's RichTextKit in my app to allow for rich text editing. https://github.com/danielsaidi/RichTextKit
I am having trouble updating
RichTextEditor(text: $value1, context: value2)
programmatically via a function. I'm wanting the ability to insert text, but whenever I try
$value1.wrappedValue = "New value"
It doesn't update the RichTextEditor with anything new. If I call print($value1.wrappedValue)
the value has updated there, but it won't do anything on the TextEditor itself.
Is there a way to update bindings AND have them update the view?