editedAttributedText Instance Property

@MainActor @objc var editedAttributedText: NSAttributedString { get }

The current edited text WITH its attributes (confidence colours on unedited spans, neutral styling on user-typed runs). Adopters that re-present the editor should hold this on dismiss and pass it back as seedText so both the edit and the colours survive re-open. The delegate’s didFinishWithText: carries only the plain string.

Top