Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 5 years ago

#20343 closed defect (bug) (duplicate)

Unable to link images aligned to right

Reported by: exz's profile 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 (2)

#1 @SergeyBiryukov
13 years ago

  • Keywords tinymce alignment image link removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

This ticket was mentioned in Slack in #core-editor by daisyo. View the logs.


5 years ago

Note: See TracTickets for help on using tickets.