Sorry for replying to my own post, just wanna say that the Enter seems to be the key here. I can totally accept this scenario:
User types abc
User presses Undo
abc is removed.
I suppose the question could be, is there a way to configure the Undo logic?