#41408 closed defect (bug) (fixed)
TinyMCE: Images with link and caption look "broken" when selected
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.8.1 | Priority: | high |
Severity: | normal | Version: | 4.8 |
Component: | TinyMCE | Keywords: | has-patch commit fixed-major |
Focuses: | Cc: |
Description
Happens when the image is set to display: block
. That interferes with the zero width chars that are inserted when a link is selected.
Attachments (3)
Change History (10)
#3
follow-up:
↓ 7
@
7 years ago
- Keywords commit added; needs-testing removed
Patch looks good.
Out of scope for this ticket, but it seems like there should be some sort of selector on dl.wp-caption
when the image or caption are selected, and appropriate styling to show that you've selected part of a larger object.
#5
@
7 years ago
- Keywords fixed-major added
- Resolution fixed deleted
- Status changed from closed to reopened
Note: See
TracTickets for help on using
tickets.
In 41408.patch: fix styling for images that have link and caption.
Thinking this should be considered for 4.8.1 as it is an annoying visual regression/bug. However it will need some testing in different themes as the CSS selectors are more specific in order to override themes that also set images with captions to
display: block
(that was already in the WP default editor styles, there was no need to repeat in themes).