state.undo

Occurs whenever user presses ctrl/cmd+z or the undo button or a plugin calls the state.undo command using the API.

state.redo

Occurs whenever user presses ctrl/cmd+shift+z or the redo button or a plugin calls the state.redo command using the API.