Opened 14 years ago

Closed 12 years ago

#7100 closed Bug (fixed)

JS error when empty list selected and trying to insert element

Reported by: Krzysztof Studnik Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.0
Keywords: IE6 Cc:

Description

  • Clear editor contents
  • Paste following code
    <ul>
    	<li>
    		&nbsp;</li>
    	<li>
    		&nbsp;</li>
    </ul>
    
  • in WYSIWYG select all (Ctrl+A)
  • press <hr>

In IE6 JS error is thrown:

line 33
char 214
error getFirst() is null or not an object

Probably connected with #7098
In Firefox - list is cleared, <hr> is inserted (as Expected)

Change History (3)

comment:1 Changed 14 years ago by Krzysztof Studnik

Version: 3.5.1 (SVN - trunk)3.0

comment:2 Changed 14 years ago by Jakub Ś

Status: newconfirmed

Error still occurs in CKEditor 3.6.

URI: ckeditor\3.6\ckeditor\_source\core\dom\range.js
Line: 163
Message: error getFirst() is null or not an object

comment:3 Changed 12 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

CKE 4.x doesn't support IE6 anymore and in IE7-10 and CKE 4 this problem doesn't occur. I'm closing this as fixed.

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