RichTextKit icon indicating copy to clipboard operation
RichTextKit copied to clipboard

Text does not show when updating state

Open pkasson opened this issue 4 months ago • 7 comments

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.

pkasson avatar Oct 10 '24 14:10 pkasson