[wp-trac] [WordPress Trac] #37753: The Edit button on a gallery does nothing unless you first click on the gallery.

WordPress Trac noreply at wordpress.org
Sat Aug 20 19:29:29 UTC 2016


#37753: The Edit button on a gallery does nothing unless you first click on the
gallery.
--------------------------+------------------------------
 Reporter:  efco          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by Clorith):

 * component:  Gallery => Editor


Comment:

 Can replicate this.

 When the gallery is the first item in the editor (can't be any text,
 whitespace, etc. before it)  when the page is loaded, the text caret is
 identified as being at the start of the editor box, making the edit/remove
 overlay for galleries visible without being a legitimate action at that
 point.

 Does not output the overlay in 4.5.3

 Going to chuck this over on the Editor component, as this is caused by the
 editor behavior, and not the gallery it self I'd say.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37753#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list