#17088 closed defect (bug) (worksforme)
Edit image icon broken in Internet Explorer 9 for referenced images with captions
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.1 |
| Component: | Media | Keywords: | |
| Focuses: | Cc: |
Description
The "Edit Image" icon fails in IE 9 when trying to edit an image that has been inserted from an external URL with a caption. Instead of bringing up the Edit Image screen nothing happens.
Removing the caption code for an externally referenced image allows it to then be edited normally.
To reproduce:
- Create a new post in WP 3.1.1
- Add an image from an external URL with a caption. You could use the following code:
[caption align="alignnone" width="281" caption="Source: Wikipedia (by NASA)"]<img title="France" src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Satellite_image_of_France_in_August_2002.jpg/780px-Satellite_image_of_France_in_August_2002.jpg" alt="France" width="281" height="216" />[/caption]
- Switch to the visual editor.
- Click on the image to bring up the two icons.
- Click the edit image icon.
Instead of bringing up the edit image dialogue the post will scroll to the top with the cursor before the first word. Nothing else happens.
This was tested in IE 9 in an installation of 3.1.1. The same steps to reproduce will work correctly in Safari 5.0.4 and allow you to edit an image.
Change History (5)
Note: See
TracTickets for help on using
tickets.
Seems caused by the workarounds/fixes for IE9 in TinyMCE. Should work properly after updating to the latest TinyMCE in trunk (that will be available in 3.2). I'll see if we can come up with a fix in the meantime.