Active
Project:
Image Assist
Version:
6.x-2.0-alpha4
Component:
Wysiwyg API Plugin
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2009 at 18:05 UTC
Updated:
13 Jun 2011 at 17:42 UTC
I'm using img_assist, wysiwyg, and tinymce and am using the camera icon plugin into my normal tinymce toolbar. Everything works great, in every browser, until I try to Edit an inline image's attributes, such as title, alignment, etc, in Internet Explorer (both 7 and 8).
Instead of changing the image's alignment, the entire image is just deleted when i Submit the popup window.
TinyMCE: 3.2.7
WYSIWYG: 6.x-2.0
Comments
Comment #1
jamsilver commentedI am also experiencing this bug. It only seems to be an issue on ie8 on XP (tested on ie6 XP, ie7 XP, FF 3.5 XP & Ubuntu).
Having added an image with the img_assist popup and clicking on that image and activating the popup once more to edit some properties, if you submit the popup the image is completely deleted rather than being updated.
The simplest way to replicate the issue:
1) Insert some image using img_assist in an editor (using the camera icon plugin)
2) Open firebug and execute the following javascript: tinyMCE.activeEditor.execCommand('mceInsertContent', false, 'some new content');
- This is the function that the img_assist popup calls on the parent window when the update button is clicked.
Hard to see whether it's an issue with the way img_assist inserts the original image into the textarea or whether it's an issue with tinyMCE and the way it overwrites images on the 'mceInsertContent' command.
Any ideas?
Comment #2
jamsilver commentedOK, just realised the firebug line wont help too much since the problem is with ie.
A better way of firing that javascript would be to place a link on the page that executes it.
Comment #3
jamsilver commentedUpdating the tinymce javascript to the latest version (3.2.7) did not fix the problem.
Comment #4
t.lan commentedsubscribe - same here
Comment #5
othermachines commentedPossible solution below...
I was having a similar problem. In my case, if I click the image in the editor, then the camera icon, then the "Update" button, the image is inserted at the top of the DOM tree instead of within the editor's iframe. e.g.
In other words, it would pop out of the editor window and position itself at the top of the page. This was only in IE8 (also in compatibility mode) on Vista.
I was using img_assist 6.x-2.0-alpha4 and wysiwyg 6.x-2.3. Upgrading my tinymce library from 3.2.6 to 3.3.9.4 seems to have solved the problem. I tried 3.4.3 (latest version) and was getting even wackier results-- it would insert two images instead of one, and the pop-up wouldn't close after insert.