Is there a variant of TextEditor that works with AttributedString? Does it expose the selectedText range?
I want to create a custom text editor to mark ranges of an AttributedString. But I can make do in a clunky way with just String if I at least can get the selectedRange of the text in TextEditor.
I expect I'll need to go to UIKit and use UITextView.