How can I define different color sets for different editor instances on the same page?
Actualy I am setting color sets using the config entry:
CKEDITOR.config.colorButton_colors
This works fine, but does not allow different instances on the same page having different color sets.
I tried to capture the "configLoaded" event and set the color set on the editor instance. The event was correctly captured but the color set was not taken into account for the color button.
Can somebody help?
Actualy I am setting color sets using the config entry:
CKEDITOR.config.colorButton_colors
This works fine, but does not allow different instances on the same page having different color sets.
I tried to capture the "configLoaded" event and set the color set on the editor instance. The event was correctly captured but the color set was not taken into account for the color button.
Can somebody help?
Re: Color definitions for different instances
e.g.
CKEDITOR.replace( 'editor1',
{
toolbar : 'Basic',
uiColor : '#9AB8F3',
colorButton_colors : ....
});
Re: Color definitions for different instances
Looking at the code for the plugin it seems to be taking the instance config, however. Any ideas?
Re: Color definitions for different instances
I had a quick poke to see if I could get it to take the colours from the editor.config but it doesn't seem to want to play ball with me.. Sorry.