When editing or creating a node in IE9 the following JS error occurs:

Unable to get property 'add' of undefined or null reference (File: /core/assets/vendor/ckeditor/ckeditor.js, Line: 71, Column: 239)

This seems to prevent the loading of any existing content in the field when editing a node.

Also, when changing the text format the following JS error occurs:

Unable to get property 'getName' of undefined or null reference (File: /core/assets/vendor/ckeditor/ckeditor.js, Line: 281, Column: 12)

I do not get any errors when viewing http://ckeditor.com/demo in IE9 and this page loads a editor with pre-populated content.

Comments

PsycleInteractive created an issue. See original summary.

wim leers’s picture

Status: Active » Postponed (maintainer needs more info)

We just updated CKEditor to version 4.5.4 yesterday, at #2581291: Update CKEditor library to 4.5.4.

Could you please try Drupal 8 HEAD?

mlewand’s picture

I can confirm the issue, but couldn't get to the source of the issue. The problem is that body of iframe content window does not have classList object. It's working on our demos, so we need to figure out what makes it to happen here.

wim leers’s picture

Status: Postponed (maintainer needs more info) » Active
Issue tags: +Needs upstream bugfix

Okay, per #3 this is confirmed. Since Drupal is not at all involved in CKEditor's <iframe>, AFAICT it can only be a bug in CKE itself, right?

nod_’s picture

IE9 right?

Same happened when I worked on IE8 module, didn't realize we did still support IE9 :þ

http://dev.ckeditor.com/ticket/13867#comment:2

wim leers’s picture

Version: 8.0.0-rc2 » 8.0.x-dev

Ohhh! Commented on that ticket.

This is therefore also something affecting Drupal 8.0.x.

mlewand’s picture

Looks to me that the polyfill is applied only to top window and that's the reason for the bug.

wim leers’s picture

Status: Active » Closed (duplicate)
Related issues: +#2321583: Update CKEditor library to 4.5.5

CKEditor 4.5.5 was released and fixed this bug.

We're updating to CKEditor 4.5.5 in #2321583: Update CKEditor library to 4.5.5.

wim leers’s picture

Issue tags: -Needs upstream bugfix