Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE10 not loading wysiwyg view #57

Open
aharris opened this issue Feb 26, 2016 · 3 comments
Open

IE10 not loading wysiwyg view #57

aharris opened this issue Feb 26, 2016 · 3 comments

Comments

@aharris
Copy link

aharris commented Feb 26, 2016

I am getting a type error in IE10:


TypeError: Unable to get property 'addEventListener' of undefined or null reference
   at setup (http://10.0.2.2:3100/assets/js/vendor-body.js:53884:5383)
   at l (http://10.0.2.2:3100/assets/js/vendor-body.js:53884:16476)
   at Anonymous function (http://10.0.2.2:3100/assets/js/vendor-body.js:18667:34)
   at invokeLinkFn (http://10.0.2.2:3100/assets/js/vendor-body.js:18673:9)
   at nodeLinkFn (http://10.0.2.2:3100/assets/js/vendor-body.js:18167:11)
   at compositeLinkFn (http://10.0.2.2:3100/assets/js/vendor-body.js:17563:13)
   at nodeLinkFn (http://10.0.2.2:3100/assets/js/vendor-body.js:18162:24)
   at compositeLinkFn (http://10.0.2.2:3100/assets/js/vendor-body.js:17563:13)
   at compositeLinkFn (http://10.0.2.2:3100/assets/js/vendor-body.js:17566:13)

In chrome from the minified code

c.querySelector("body") === <body contenteditable="true"></body>

In IE:

c.querySelector("body") === undefined

My setup:

<wysiwyg-edit content="text" config="editorConfig"></wysiwyg-edit>

$scope.editorConfig = {
    sanitize: false,
    toolbar: [
        { name: 'basicStyling', items: ['bold', 'italic', 'underline', 'strikethrough', 'subscript', 'superscript', '-', 'leftAlign', 'centerAlign', 'rightAlign', 'blockJustify', '-'] },
        { name: 'paragraph', items: ['orderedList', 'unorderedList', 'outdent', 'indent', '-'] },
        { name: 'doers', items: ['removeFormatting', 'undo', 'redo', '-'] },
        { name: 'colors', items: ['fontColor', 'backgroundColor', '-'] },
        { name: 'links', items: ['image', 'link', 'unlink', '-'] },
        { name: 'styling', items: ['format'] }
    ]
};
@mecapetr
Copy link

mecapetr commented Aug 4, 2016

Have you found any solution ? I have the same problem and I don´t fix it yet.

@ishthiaque
Copy link

i too am facing same issue

@vodun
Copy link

vodun commented Sep 12, 2016

same bug!! add description that it works only Microsoft Edge!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants