Hi, I am using multiple editors in the same page and I need specific configuration for these editors. I use:
And
The problem is that sometime every editor has the same configuration even if I gave specifics customConfig.
Do you have an idea why?
CKEDITOR.replace( 'editor1', { customConfig : 'config-texte.js' });
And
CKEDITOR.replace( 'editor2', { customConfig : 'config-texte-lacunaire.js' });
The problem is that sometime every editor has the same configuration even if I gave specifics customConfig.
Do you have an idea why?
Re: Multiple customConfig
Re: Multiple customConfig
I was able to get different configurations for each editor instance among multiple on a page by setting the configuration settings *inside* the replace method:
CKEDITOR.replace( "$fieldname",
{
customConfig : '/westernfamily/_scripts/ckeditor_westfam_config.js',
toolbar : 'wf_simple',
height: "$height",
width: "$width",
});
See http://docs.cksource.com/CKEditor_3.x/D ... ns_In-Page.
I believe this is the way to customize individual configurations for multiple editor instances. See if this works for you. It worked for me.