when editing, parse content as HTML first