Opened 15 years ago

Closed 11 years ago

#2749 closed Bug (wontfix)

InsertHtml() is inconsistent between IE 7 and Firefox 2

Reported by: Slava Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IE Cc:

Description

If called several times in succession, these three lines of JavaScript create different behavior in IE 7 vs. FF 2:

var oEditor = FCKeditorAPI.GetInstance('FCKInput'); oEditor.InsertHtml(strInsertion); oEditor.Focus();

The difference between the results in IE and FF is that the insertion point in the editor behaves differently. To see this in action, please visit http://132.236.21.62/collt/authoring/InsertAtCursor_Problem.htm. I also attach the same HTML file.

I'd appreciate an update sent to sp27@….

Attachments (2)

InsertAtCursor_Problem.htm (4.5 KB) - added by Slava 15 years ago.
Statis Web page that demonstrates the issue
replacebycode3.html (6.0 KB) - added by Jakub Ś 12 years ago.

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by Slava

Attachment: InsertAtCursor_Problem.htm added

Statis Web page that demonstrates the issue

comment:1 Changed 15 years ago by Alfonso Martínez de Lizarrondo

Keywords: InsertHTML() removed
Milestone: FCKeditor 2.6.4

comment:2 Changed 15 years ago by Michael Osipov

Version: FCKeditor.Java 2.4.1

Did you try already version 2.6.3 or a nightly build?

comment:3 Changed 15 years ago by Slava

The problem I'm describing is with version 2.6.3 that I downloaded and installed on 12/24/2008. Sorry about not being accurate about this. I have not tried the nightly build.

comment:4 Changed 15 years ago by Michael Osipov

Version: FCKeditor 2.6.3

comment:5 Changed 15 years ago by Artur Formella

Keywords: Confirmed IE added
Version: FCKeditor 2.6.3FCKeditor 2.4

comment:6 Changed 12 years ago by Jakub Ś

Version: FCKeditor 2.43.0

This problem can still be reproduced in latest CKEditor 3.6.4 (v4 beta as well) and all versions of IE.

  1. Paste the attached replacebycode3.html file into _samples folder
  2. Click A, B, C in the alphabet palette, in that order
  3. In IE, you'll get CBA while in other browsers you will get expected ABC
  4. Click between C and B in IE to position the insertion point, and then click D, E, and F in the alphabet palette

Result: in IE, you'll get FBEDCA

Changed 12 years ago by Jakub Ś

Attachment: replacebycode3.html added

comment:7 Changed 11 years ago by Piotrek Koszuliński

Resolution: wontfix
Status: confirmedclosed

FF2 and IE7 are no longer supported.

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