I am using below code to change editor config, but sometime instance ready code never fires. Please let me know if I am missing anything.
function attacheCKEditorInstanceReadyEvents(){
console.log('-->Inside attacheCKEditorInstanceReadyEvents');
if(CKEDITOR != undefined ){
console.log('instanceReady');
CKEDITOR.on('instanceReady', function(e) {
transformEditor(e);
});
}
else{
console.log('failed for one time').
setTimeOut('attacheCKEditorInstanceReadyEvents();',1000);
}
}
function transformEditor(e){
console.log('-->e.editor.name'+e.editor.name);
if (e.editor.config.magic) return;
console.log('-->2');
var target = e.editor.config.bodyId;
var name = e.editor.name;
e.editor.destroy();
CKEDITOR.editorConfig = function( config ) {
config.magic = true;
config.removePlugins = 'SpellChecker';
config.toolbar =
[
{ name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] },
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-', 'Scayt' ] },
'/',
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
{ name: 'insert', items : [ 'Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },
'/',
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }
];
}
CKEDITOR.replace(name, {
height : 275,
bodyId : target
});
}

did you find a solution for this problem?
we have the same problem both in IE8 and IE9. I was wondering if you found a work around.
Thanks.