Adam,
thanks for the fix, but there is still a little bug which I can reproduce in your online demo:
1) Type some text
2) Delete all text, like CTRL-A und DEL
3) Type some text like "abc"
3) Switch to HTML and you see <p>abc</p>
Can you please also fix this soon? Thanks!
Joerg