Opened 6 years ago

Last modified 6 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 6 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 6 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy