Edit image icon broken in Internet Explorer 9 for referenced images with captions
|Reported by:||andrewspittle||Owned by:|
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.
- 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.