Skip to content

Code editor doesn't load in IE11 #4

@nathaniel-teals

Description

@nathaniel-teals

Using IE11 on Windows 8.1, when opening the Code Embed dialog from the Canvas RTE the actual code editor doesn't load. Opening the IE debugger, the problem appears to be here:

setDocument = Sizzle.setDocument = function( node ) {
    var doc = node ? node.ownerDocument || node : preferredDoc, parent = doc.parentWindow;

    // If no document and documentElement is available, return
    if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
        return document;
    }

IE breaks with "Access denied" and "doc" has no value at that point in time.

[update]: the same issue repro's when viewing pages and not just when editing. FWIW, the "node" parameter is empty when IE breaks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions