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
Status: | new → confirmed |
---|
comment:2 Changed 11 years ago by
Summary: | Method insertElement causes error in IE → Method insertElement causes error in IE if editable hasn't been yet focused |
---|