Undo & redo
Ain't it a pity this command doesn't exist for life?
Key commands to undo
Microsoft Windows: Ctrl + Z
Apple macOS: command + Z
Apple iOS & iPadOS: (when available) undo button above the keyboard, or shake the device then select Undo.
Key commands to redo
Microsoft Windows: Ctrl + Shift + Z
Apple macOS: command + shift + Z
Apple iOS & iPadOS: (when available) redo button above the keyboard, or shake the device then select Redo.