Polyfill insertHTML for emptyEditorWhenDeleting patch
Tidy up