Opened 8 years ago
Closed 8 years ago
#37753 closed defect (bug) (duplicate)
The Edit button on a gallery does nothing unless you first click on the gallery.
Reported by: | efco | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.6 |
Component: | TinyMCE | Keywords: | needs-patch |
Focuses: | Cc: |
Description
The Edit
button on galleries does nothing when clicked unless you first click on the gallery, and bring it into focus (blue highlighted border).
Steps to reproduce:
- Edit a page containing a gallery.
- Without clicking anything else on the page, hover over and click the gallery edit button.
- Nothing happens.
- Click the gallery itself, bringing it into focus.
- Click the gallery edit button.
- Gallery edit window opens as intended.
Change History (7)
Note: See
TracTickets for help on using
tickets.
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.