Rewrite editing using contentEditable.