Opened 11 years ago

Last modified 11 years ago

#11720 confirmed Bug

Method insertElement causes error in IE if editable hasn't been yet focused

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3
Keywords: IE Cc:

Description

Insert below code into replacebycode sapmle:

editor.on('instanceReady', function(){
	var elem = new CKEDITOR.dom.element( 'pre' );
	editor.insertElement(elem); //error in IE
	//editor.editable().append(elem); //works
});

When you load the page you will get:
Message: 'undefined' is empty or not an object
Line: 299
URI: /ckeditor4_git/core/editable.js

Problem can be reproduced from CKEditor 4.3 in all versions of IE.

Change History (2)

comment:1 Changed 11 years ago by Jakub Ś

Status: newconfirmed

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

Summary: Method insertElement causes error in IEMethod insertElement causes error in IE if editable hasn't been yet focused
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