I'm trying to place multiple CKEDITOR instances on the same page, each one loading a different config file. It works fine in FF, but in IE the config file from the last instance on the page is applied to all instances. Each instance has a unique base element name. I'm using the following code to add the instances, with the customConfig, width, and height values changing for each instance.
CKEDITOR.replace( document.form1.elementName,
{
customConfig : customConfigFile.js',
width : '500px',
height: '200px'
}
);
What am I doing wrong? I can't just specify the settings from the config files on the page, because part of the config file is an oninstanceready call. The only way I've been able to make it work is to delay the initialization of each instance using setTimeout, but this is far from ideal. Any ideas?