SwiftUI TextEditor in os26 supports attachment?

Glad to see that we have the capability to edit rich text in TextEditor with the latest os update, but I didn't get any clue to enable the attachment for this textEditor, either image/audio/video or other attachments.

Any solution on this with TextEditor or I have to use the UIKit and AppKit alternatives?

Have you seen this: https://stackoverflow.com/questions/75513158/how-do-you-add-an-image-attachment-to-an-attributedstring. I've also been able to create an AttributedString that includes graphic attachments by loading an RTFD file into NSAttributedString and then initialize an AttributedString from the NSAttributedString. The AttributedString contains the graphic attachment as demonstrated by printing the object to the console. But when placed in a TextEditor, the graphics are not displayed. If I do a similar thing with UITextView, it displays the graphics.

SwiftUI TextEditor in os26 supports attachment?
 
 
Q