I know how to limit the number of characters in a TextEditor. But is there a way to limit it by line number instead of by character?
With something like this?
TextEditor(text: $myText).lineLimit(3)
I know how to limit the number of characters in a TextEditor. But is there a way to limit it by line number instead of by character?
With something like this?
TextEditor(text: $myText).lineLimit(3)