Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#27210 closed defect (bug) (fixed)

Set wpActiveEditor on DOM ready

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

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

Download all attachments as: .zip

Change History (4)

@kovshenin
11 years ago

#1 @kovshenin
11 years ago

  • Keywords has-patch added

Patch in 27210.diff

#2 @azaozz
11 years ago

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

In 27270:

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

#3 @SergeyBiryukov
11 years ago

  • Milestone changed from Awaiting Review to 3.9
Note: See TracTickets for help on using tickets.