Do not prepareDocForEditing in gecko's rawHtml.