Opened 8 years ago

Closed 6 years ago

#8800 closed Bug (fixed)

IE6-10: ENTER key immediately after an anchor generates javascript error

Reported by: hel Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6
Keywords: IE Cc:

Description

Assume the following content is within the ckeditor:

    Here is an anchor [anchor] in some text

where [anchor] is the anchor placeholder.

On IE9, if you place the cursor immediately after the anchor and then hit ENTER, it is possible to generate an "Unable to get value of the property 'insertBeforeMe': object is null or undefined" javascript error. See screen shot.

Also managed to recreate in one of the nightly build samples: http://nightly.ckeditor.com/7382/_samples/replacebyclass.html

Attachments (1)

ie9-Capture3-enter.PNG (38.4 KB) - added by hel 8 years ago.
IE9 ENTER key after anchor js error

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by hel

Attachment: ie9-Capture3-enter.PNG added

IE9 ENTER key after anchor js error

comment:1 Changed 8 years ago by Jakub Ś

Keywords: IE added
Status: newconfirmed
Version: 3.6.23.6
  1. Insert below code:
    <p>
    	Here is an anchor&nbsp;<a name="abc"></a> in some text</p>
    
  2. Place cursor after anchor and press enter

IE9-IE10
Message: Unable to get value of the property 'insertBeforeMe Line: 163
URI: /ckeditor/_source/core/dom/range.js

IE6-8
Message: 'getFirst()' in null or not an object
Line: 163
URI: /ckeditor/_source/core/dom/range.js

Reproducible in all IE's from CKEditor 3.6 rev [6904]

Last edited 7 years ago by Jakub Ś (previous) (diff)

comment:2 Changed 7 years ago by Jakub Ś

Same error but diffrent TC and different version #8395

comment:3 Changed 7 years ago by Jakub Ś

Summary: IE9: ENTER key immediately after an anchor generates javascript errorIE6-10: ENTER key immediately after an anchor generates javascript error

comment:4 Changed 6 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

Not reproducible on 4.3 (I checked IE8 and IE9).

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy