Tested in Chrome on macOS
Steps to reproduce:
- On a pull request, start a review
- Start writing a comment
- In your comment, select a piece of text and hit enter
- Hit cmd + z
The new line is removed and the deleted text text reappears.
Hitting the enter key cannot be undone. This also applies to regular new lines but is less bad in this scenario as you don’t lose your edit like when you had text selected.