Unable to link images aligned to right
|Reported by:||exz||Owned by:|
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:
- Add a new post
- Insert an image without title, caption and link. (the result should be just a <img> tag)
- Align the image to right
- 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.