Get inner HTML of editor programatically
Add tests for undo manager