Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#27210 closed defect (bug) (fixed)

Set wpActiveEditor on DOM ready

Reported by: kovshenin Owned by: azaozz
Priority: normal Milestone: 3.9
Component: Editor Version:
Severity: normal Keywords: has-patch
Cc: Focuses: javascript

Description

We currently set wpActiveEditor on click inside a .wp-editor-wrap, but we should also have a default active editor set on DOM load, to handle media insert from elements outside of the editor wrap, or ones triggered by non-click events, such as drag and drop in #19845.

Attachments (1)

27210.diff (527 bytes ) - added by kovshenin 13 years ago.

Download all attachments as: .zip

Change History (4)

@kovshenin
13 years ago

#1 @kovshenin
13 years ago

  • Keywords has-patch added

Patch in 27210.diff

#2 @azaozz
13 years ago

  • Owner set to azaozz
  • Resolutionfixed
  • Status newclosed

In 27270:

Set wpActiveEditor to the id of the first instance on init, props kovshenin, fixes #27210.

#3 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review3.9
Note: See TracTickets for help on using tickets.