[IE] Unable to edit link around image with image dialog
Reproducing Procedures
- Open the 'replace by class' sample page in IE;
- Load the document will following content:
<a href="ckeditor.com"><img alt="title" height="43" src="http://dev.fckeditor.net/chrome/site/logos.gif" width="207" /></a>
- Select the 'img' element with elements path bar.
- Open 'Image' dialog and switch to 'Link' tab;
- Actual Result: The link is not loaded.
Change History (6)
Keywords: |
Confirmed Review? added; IE removed
|
Status: |
new →
assigned
|
Description: |
modified (diff)
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
The logic in the image dialog at line 219 is totally wrong. It expects a link to be selected, and this will never happen to the image dialog. We'll "always" have and image selected, never a link. The point 3 in the above TC is wrong.
The link dialog must check the image parent checking it it's a link. It was enough to copy the V2 behavior here :/