See this discussion @ stackoverflow where I first proposed this solution. https://stackoverflow.com/questions/64611872/undo-redo-text-input-w-swiftui-texteditor
See this discussion @ stackoverflow where I first proposed this solution. https://stackoverflow.com/questions/64611872/undo-redo-text-input-w-swiftui-texteditor