When switching the editor Text to Visual and back, the Text editor remains hidden if TinyMCE fails to initialise
|Reported by:||azaozz||Owned by:||azaozz|
Steps to reproduce:
- Load the Post Edit screen and switch to the Text editor (so it is set as default).
- Reload the page and terminate the connection to the server to simulate bad Internet connectivity.
- Switch to the Visual editor. It fails to initialise as it cannot load some of the needed files: css, extra plugins, etc.
- Switch back to the Text editor.
At this point the Text editor looks empty. However only the textarea is still hidden, the actual content is still in it.
This doesn't happen often but is a really bad experience for the users as they would think they lost the content.