[wp-trac] [WordPress Trac] #22541: Media icon doesn't work in distraction free writing mode

WordPress Trac noreply at wordpress.org
Mon Nov 26 21:09:14 UTC 2012


#22541: Media icon doesn't work in distraction free writing mode
--------------------------+--------------------
 Reporter:  ericmann      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  blocker       |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------

Comment (by azaozz):

 Replying to [comment:6 lessbloat]:
 > Side note: The following styles also have a z-index greater than 160000:
 >
 > - .wp-full-overlay - set to 500000
 > - #customize-container - set to 500000

 Thinking these are ok, the customizer should be higher than the media
 modal?

 > '''editor.css'''
 >
 > - #wp_editbtns, #wp_gallerybtns - set to 999998

 These should ideally be lower than the modal.

 > - .fullscreen-fader - set to 200000

 This can be higher, used only to fade in/out DFW.

 Replying to [comment:7 koopersmith]:
 > ... It's possible to click a button without switching `wpActiveEditor`.
 That said, we should probably default that property to the
 `wpActiveEditor` if it's empty or not provided.

 `wpActiveEditor` is (should be) set on mousedown, so any click in the
 editor wrapper would set it to the current instance id before the `click`
 event fires. Of course having `data-editor` there and falling back to
 `wpActiveEditor` wouldn't hurt.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22541#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list