The Undo and Redo buttons in the top right corner of the editor allow you to undo and redo any changes.