I have just started using the Rich Text Editor on my private website and I seem to have found a bug in the code.
Whenever I open file, when I leave the editor in HTML view, it renders the page properly complete with images and formatting while the editor is still in HTML mode.
But when I click on the HTML button again to switch back to the standard view, then all I'm left with is the text with no formatting and no images, and when I click the button again, it doesn't display anything not even any HTML tags (unless I edit the page before switching back).
I am thinking that when the editor opens a file, it doesn't check if it is in HTML mode or the standard mode.