RichTextKit
RichTextKit copied to clipboard
Text does not show when updating state
When the text (@State) is updated, the component does not show it:
@State var text = NSAttributedString(string: "Type text here...")
RichTextEditor(text: $text, context: context) .focusedValue(.richTextContext, context) .focused($isFocused)
The initial text works, but when text is updated, it does not get rendered.