Undo/Redo

WYMeditor's undo is, in some cases, not accurate.
Instantiated with the current state.