Opened 12 years ago
Last modified 12 years ago
#9926 confirmed Bug
IE9: deleting iframe in BR mode causes JS error
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | IE9 | Cc: |
Description
How to reproduce:
- Open enter key sample and switch to BR mode.
- Use the developer console to set the editor data
CKEDITOR.instances.editor1.setData('<iframe></iframe>');
- Set the cursor after the iframe and press enter to make a newline
- Press backspace to delete an iframe
JS error is thrown:
Message: Can't get property "remove": object is empty or undefined
Line: 171
URI: /ckeditor/plugins/wysiwygarea/plugin.js
NOTE: IE8 has its own problems defined here #8446. Problem can be reproduced from CKEditor 4.0. In CKEditor 4 beta inserting iframe caused another error - insufficient privileges.