WordPress.org

Make WordPress Core

Opened 9 years ago

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

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 9 years ago.

Download all attachments as: .zip

Change History (3)

@azaozz
9 years ago

#1 @alexvorn2
9 years ago

  • Cc alexvornoffice@… added

#2 @azaozz
9 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to 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.