- Fix Issue 36: Better handling of deleting on an empty page (no more user action is prevented on the keydown event, instead we deal with the result in the input event and ensure at least a
<div><br></div>
is always present in the content). - Fix a Safari bug with the cursor, which appeared only on recent versions of Safari (
normalize()
must now be called before selection<null>
tags removal)