timo There is an undo option (for text) in the formatting toolbar (you might need to scroll it to the side a bit)
timo The same feature is also available in the Windows version, also in the formatting toolbar. You can also use the common keyboard shortcuts for undo/redo