Processing
 

CKEditor “Permission denied” error inside IE8

28/08/2016 11:14#1

Nikola B.

Member

Joined at: 5 months ago

Post: 1

Thank: 0

Thanked: 0

I'm using CKEditor v4.5.6 (along with Angular 1.2.0 and jQuery 1.11.3) in my app which has to be IE8 compatibile. Other browsers are not throwing any errors but when I load page with editor inside IE8 it throws "Permission denied" error inside line 54 of ckeditor.js file:

getDocument:function(){return new CKEDITOR.dom.document(this.$.ownerDocument|| this.$.parentNode.ownerDocument)} 

Also, I was unable to open cdn link inside IE8, I get error: CKEditor “Permission denied” error inside IE8

Code used inside ckEditor directive is rather simple - couple of config setters, replace method for toolbar and then getData() and setData() on model update, something like this:

CKEDITOR.config.resize_enabled = false; var ck = CKEDITOR.replace(elm[0],     {         toolbar: [             {name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', '-', 'Undo', 'Redo']}         ]     });  ck.on('instanceReady', function () {     if(ngModel.$viewValue){         ck.setData(ngModel.$viewValue);     } });  function updateModel() {     scope.$apply(function () {         ngModel.$setViewValue(ck.getData());     }); }  ck.on('change', updateModel); 

Inside html file:

 <script src="//cdn.ckeditor.com/4.5.6/standard-all/ckeditor.js"></script>   <textarea class="textarea form-control" ng-if="!loading"     data-ck-editor="" ng-model="test.editorContent"> </textarea> 

Although editor is loaded and data is correctly diplayed, this error is iritating. Any help?

Similar articles

IE9 dosen't support my Button Tag

5 months ago - Reply: 0 - Views: 18

SSRS 2016 Web protal in IE8

5 months ago - Reply: 0 - Views: 17

how to handle @keyframes not supported by ie9?

5 months ago - Reply: 0 - Views: 5

Detect Windows XP in Firefox with JS

6 months ago - Reply: 1 - Views: 47

IE8 Not showing divs with floats

6 months ago - Reply: 2 - Views: 131

Including ECMA 5 script in IE8

6 months ago - Reply: 1 - Views: 98

XDomainRequest does not work in ie8 & ie9

6 months ago - Reply: 0 - Views: 11

How to minify angular.js?

6 months ago - Reply: 1 - Views: 32

VBA and IE8 - scrape text buried in table

6 months ago - Reply: 1 - Views: 39

Detect http satus IE10

6 months ago - Reply: 0 - Views: 8

how to compress angular.js?

6 months ago - Reply: 0 - Views: 4

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re