In SwiftUI, you can dynamically size a TextField like this which expands vertically as the user types.
TextField("Enter text", text: $text, axis: .vertical)
I would like to do the same thing using a TextEditor, especially now that it supports AttributedString in iOS 26.
Is there a built-in way to get dynamic height sizing for TextEditor, similar to axis: .vertical?
If not, what is the correct modern approach?