Undo/Redo

WYMeditor's undo is, in some cases, not accurate.
Sorted.