Opened 9 years ago

Last modified 8 years ago

#14786 closed Bug

CK Editor 4.3 Instance Hang on IE — at Initial Version

Reported by: HinaSynergyIt Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: hina.bashir@…

Description

Steps to reproduce

I am using CK Editor 4.5.8 I am using Knockout js binding in my code We are using IE but it works on some machine but doesn't work on some machine

model dialog have 2 buttons Save and close

on model dialog initialization

<script type="text/javascript">

$(document).ready(function() {

ckInstance = CKEDITOR.replace("txtAnmeldelse", {

toolbar: 'Basic', uiColor: '#9AB8F3', resize_enabled: false

});

}); ko.applyBindings(new WorkViewModel(),

</script>

on close: call self.closeAndRefresh

self.closeAndRefresh = function () {

var instance = CKEDITOR.instances.txtAnmeldelse var editor; if (instance) {

first distroy and create new instance.destroy(true);

} window.close();

};

On page Edit mode call function : self.getWorkText

self.getWorkText = function() { var instance = CKEDITOR.instances.txtAnmeldelse;

var editor; if (instance) {

first distroy and create new instance.destroy(true);

} ckInstance = CKEDITOR.replace("txtAnmeldelse", {

toolbar: 'Basic', uiColor: '#9AB8F3', resize_enabled: false

});

ckInstance.on('instanceReady', function (e) {

editor = e.editor; window.setTimeout(function () {

solution for permsion denied issue Permission denied when calling setData very fast https://dev.ckeditor.com/ticket/10501

e.editor.setData(self.WorkText().Anmeldelse, {

callback: function () {

this.checkDirty(); true - to clear previous intance

}

});

}, 50);

});

}

Expected result

First time it load correctly but when i close pop-up window and reopen it i hangs.

ck Editor and give error permission denied on get_attribute function and make IE and CK editor responsiveness

Actual result

CKEditor should be open and bind correctly and should be destroy correctly

Other details (browser, OS, CKEditor version, installed plugins)

IE 11.0 Update 11.0.33 CKEditor 4.5.8

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy