WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#28705 closed defect (bug) (fixed)

Alignment buttons in TinyMCE don't reflect the changes immediately

Reported by: SergeyBiryukov Owned by: azaozz
Milestone: 4.0 Priority: normal
Severity: normal Version: 3.9
Component: TinyMCE Keywords:
Focuses: Cc:

Description

  1. Insert an image with a caption in TinyMCE.
  2. When changing the alignment of the image, there's a weird delay (in both Chrome and Firefox).

On the screenshot, "Align right" button is clicked, but "Align center" button is still highlighted, and the selection still stays on the left.

In a few seconds (5 to 10), the selection moves to the right, and the corresponding button gets highlighted.

This doesn't happen if you insert an image without a caption.

Attachments (1)

28705.png (18.4 KB) - added by SergeyBiryukov 7 years ago.

Download all attachments as: .zip

Change History (6)

@SergeyBiryukov
7 years ago

#1 @iseulde
7 years ago

  • Component changed from Editor to TinyMCE

#2 @azaozz
6 years ago

  • Milestone changed from Awaiting Review to 4.0

#3 @azaozz
6 years ago

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

In 29370:

TinyMCE: fix alignment buttons when used on image with caption. Remove old/unneeded code. Fixes #28705.

#4 @azaozz
6 years ago

In 29540:

Fix typo in the 'wpeditimage' plugin, see #28705

#5 @azaozz
6 years ago

In 29541:

TinyMCE: fix the keycode check when removing the Edit/Delete toolbar from images on keydown, see #28705

Note: See TracTickets for help on using tickets.