Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#30592 closed defect (bug) (fixed)

Editor expand sometimes not working when TinyMCE is disabled

Reported by: iseulde's profile iseulde Owned by: azaozz's profile azaozz
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.0
Component: Editor Keywords: has-patch
Focuses: javascript Cc:

Description (last modified by iseulde)

If TinyMCE is disabled and the user setting is still set to tinymce, the editor won't expand.

Introduced in [29628].

Attachments (1)

30592.patch (612 bytes) - added by iseulde 10 years ago.

Download all attachments as: .zip

Change History (6)

@iseulde
10 years ago

#1 @iseulde
10 years ago

  • Keywords has-patch added

Instead of using the cookie (which can be nonsense), use the class to determine the initial mode.

#2 @iseulde
10 years ago

  • Version changed from 3.9 to 4.0

#3 @iseulde
10 years ago

  • Description modified (diff)

#4 @azaozz
10 years ago

An extremely rare case, agree it is better to use the class though. There is some more logic determining if TinyMCE can be used.

#5 @azaozz
10 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 30743:

Editor: fix initial state for editor-expand when TinyMCE is disabled or not supported. Props avryl, fixes #30592.

Note: See TracTickets for help on using tickets.