WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#20343 closed defect (bug) (duplicate)

Unable to link images aligned to right

Reported by: exz Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4
Component: TinyMCE Keywords:
Focuses: Cc:

Description

When an image without link (wrapping anchor tag) is aligned to the right, you're unable to add a link using the tinymce editor. The bug has been reproduced using WP 3.3.1 with no plugins and the twenty eleven theme, and with 3.4-alpha-20339.

Tested using Chrome stable and Chrome Canary on Mac OS X.

How to reproduce:

  1. Add a new post
  2. Insert an image without title, caption and link. (the result should be just a <img> tag)
  3. Align the image to right
  4. Try to add link using the insert/edit link button in the visual editor

What I'm doing is selecting the image, setting alignment and then using the insert/edit link button when the image is selected. However linking the image from the edit image dialog doesn't seem to work either.

If I remove the alignment the link will get added, but not when the alignment is set.

Change History (1)

comment:1 SergeyBiryukov2 years ago

  • Keywords tinymce alignment image link removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.