Opened 15 years ago

Closed 12 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)

ie-image-fix.patch (940 bytes) - added by Cic 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Cic

Attachment: ie-image-fix.patch added

comment:1 Changed 15 years ago by cwilliams

Using the latest nightly I am experiencing this problem. Unfortunately, the attached patch does not fix the problem for me in IE7 or IE8.

comment:2 Changed 14 years ago by Christian

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 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy