Opened 15 years ago
Closed 13 years ago
#4184 closed Bug (invalid)
Images are always inserted in the beginning of the document in IE
Reported by: | Cic | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Project : MediaWiki+FCKeditor | Version: | FCKeditor 2.6.4 |
Keywords: | Cc: |
Description
Steps to reproduce (in IE 7 and 8):
- Open an arbitrary document
- Move down the cursor some lines
- Press "Insert/Edit Image"
- Insert an arbitrary image, it will now be inserted in the beginning of the document
I don't know what is causing this, but the ie-image-fix patch fixes it (afaict), however: I don't know why it fixes it (awesome, huh?). (I guess something happens to the FCK object between the Ajax call and the image insertion in IE?)
Attachments (1)
Change History (4)
Changed 15 years ago by
Attachment: | ie-image-fix.patch added |
---|
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
In image.html, before this stuff:
if ( !bHasImage ) oImage = FCK.CreateElement( 'IMG' ) ;
Add these lines:
if (oEditor.FCKBrowserInfo.IsIE) { window.focus() ; FCK.Selection.Restore() ; }
comment:3 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Since FCKeditor is no longer supported and was replaced with CKEditor, active development of the MediaWiki extension and support for it are also finished.
I’m closing this ticket as it is no longer valid.
Using the latest nightly I am experiencing this problem. Unfortunately, the attached patch does not fix the problem for me in IE7 or IE8.