My current challenge involves placing multiple CKEDITOR instances on a single page, each loading a different configuration file. While it functions correctly in Firefox (FF), Internet Explorer (IE) seems to apply the config file from the last instance on the page to all instances. Each instance has a unique base element name assigned to it. The code snippet below shows how I am adding these instances, with varying customConfig, width, and height values for each one.
CKEDITOR.replace(document.form1.elementName,
{
customConfig: 'customConfigFile.js',
width: '500px',
height: '200px'
}
);
I'm not sure where I'm going wrong. It's not feasible for me to directly specify the settings from the config files on the page because there is an oninstanceready call included in part of the config file. So far, the only workaround I have found is to delay the initialization of each instance using setTimeout, which is less than ideal. Do you have any suggestions or ideas on how to resolve this issue?