Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#23235 closed defect (bug) (fixed)

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
Priority: normal Milestone: 3.6
Component: Editor Version:
Severity: normal Keywords:
Cc: Focuses:

Description

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.

Attachments (1)

23235.patch​ (761 bytes ) - added by azaozz 14 years ago.

Download all attachments as: .zip

Change History (3)

#1 @alexvorn2
14 years ago

  • Cc alexvornoffice@… added

#2 @azaozz
14 years ago

  • Owner set to azaozz
  • Resolution → fixed
  • Status new → closed

In 23790:

Editor: fix switching Text to Visual and back if TinyMCE fails to initialise, fixes #23235

Note: See TracTickets for help on using tickets.