The following line 39 only checks if IE and not any version. As of IE 10, the method createRange() does not exist and causes a js error:

              if (CKEDITOR.env.ie) {
                data.content = selection.getNative().createRange().text;
              }

              else {
                data.content = selection.getNative().toString();
              }

Related fix in One Click Upload module: https://www.drupal.org/node/1965442

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

recrit’s picture

Status: Active » Needs review
FileSize
710 bytes

The attached patch adds a check for less than IE 10.

Devin Carlson’s picture

Status: Needs review » Fixed

Looks good.

Verified that IE11 supports the standard ECMA script objects and CKEDITOR.env.version contains the correct version number.

Committed to Media 7.x-2.x.

  • Devin Carlson committed b2ba2da on 7.x-2.x authored by recrit
    Issue #2309233 by recrit: Fixed IE11 now supports standard ECMA script...
randallknutson’s picture

Unfortunately this doesn't work with all combinations of IE 9 & 10 running in the various compatibility modes. We should follow the same pattern as https://www.drupal.org/node/1914904

Attaching a patch to make it work the same.

randallknutson’s picture

Status: Fixed » Needs review

  • Devin Carlson committed b2ba2da on 7.x-3.x authored by recrit
    Issue #2309233 by recrit: Fixed IE11 now supports standard ECMA script...
joseph.olstad’s picture

Status: Needs review » Closed (outdated)

IE10 is officially extinct