Undo/Redo—initial implementation

WYMeditor's undo is, in some cases, not accurate.
I ran across this issue. Doesn't hurt to have this check here.