Hello all,
I have been testing image assist with the latest WYSIWYG api (updated via cvs) and have an issue in IE.
Here it is:
I add an image aligned left with 'preview' size (which is 640x480): http://drupal.org/files/preview_selection.jpg
I add it to tinymce it and it is looking good: http://drupal.org/files/preview_looks_good_untill.jpg
UNTILL (drum roll)... I hit the 'preview' button. It then shows the image in thumbnail size and doesnt show at all in tinymce: http://drupal.org/files/preview_wrong.jpg
This whole process works perfectly in FF3.5 so I'm pretty sure its not a weird filter issue:
http://drupal.org/files/preview_right.jpg
html in IE before preview:
<P>[img_assist|nid=17|title=|desc=|link=none|align=left|width=0|height=0]lkj sldkjf lskdj flksj df;lksj df;lkj ;lskjd f</P>
Here is the html in tinymce:
html in IE after preview:
<P>[img_assist|nid=17|title=|desc=|link=none|align=left|width=0|height=0]lkj sldkjf lskdj flksj df;lksj df;lkj ;lskjd f</P>
html in FF b/f preview:
<p>[img_assist|nid=17|title=|desc=|link=none|align=left|width=640|height=396] ad sdf sdf dsf sd fdsf sdafd sad f</p>
html in FF3.5 after preview:
<p>[img_assist|nid=17|title=|desc=|link=none|align=left|width=640|height=396] ad sdf sdf dsf sd fdsf sdafd sad f</p>
you can see that the width=0|height=0 in IE... if I change this with the tinymce html editor, it will show it right in tinymce just like http://drupal.org/files/preview_looks_good_untill.jpg . If I go back into the tinymce html editor (even before I hit preview) it will show at 0's again for height and width.
| Comment | File | Size | Author |
|---|---|---|---|
| preview_right.jpg | 55.88 KB | that0n3guy | |
| preview_wrong.jpg | 44.48 KB | that0n3guy | |
| preview_looks_good_untill.jpg | 39.46 KB | that0n3guy | |
| preview_selection.jpg | 23.53 KB | that0n3guy |
Comments
Comment #1
that0n3guy commentedI'm marking this as duplicate of: http://drupal.org/node/486376
I should have searched for ie8... instead of ie7... thats how I found it. Please post any comments there.