Further fixes to edit/view toggle for the rich text editor.