ol/interaction/UndoRedo is an interaction to handle undo/redo on a map.
This example shows how to use an ol/interaction/FillAttribute to handle undo/redo when editing features attributes.
Experimental this feature is still in progress and may be buggy.