Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#27009 closed defect (bug) (fixed)

Clicking image resize handle on image with caption causes caption to shrink

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

Description

Steps to reproduce:

  1. Insert image with caption.
  2. Click image handle in the middle of one of the sides

Expected:
Nothing to happen

Actual:
Caption was shrunk to 10px wide and if the image is floated the text flows over the image.

Attachments (1)

27009-01.patch (702 bytes) - added by gcorne 11 years ago.

Download all attachments as: .zip

Change History (5)

@gcorne
11 years ago

#1 @gcorne
11 years ago

  • Keywords has-patch added

A check against the width fixes the issue. See attachment:27009-01.patch

#2 @gcorne
11 years ago

  • Milestone changed from Awaiting Review to 3.9

This ticket was mentioned in IRC in #wordpress-ui by helen. View the logs.


11 years ago

#4 @azaozz
11 years ago

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

In 27098:

TinyMCE: set the proper caption width when clicking image resize handle on image with caption. Props gcorne, fixes #27009, see #24067.

Note: See TracTickets for help on using tickets.