I have a few pages where I'd like to have different options within the styles dropdown.
Is this possible? If so, I'm not sure how to best get it going.
As of now I have the following:
config.extraPlugins = 'stylesheetparser';
config.stylesSet = [];
config.contentsCss = '../ckeditor_4.2/custom_styles.css';
config.stylesSet = [
{
name: 'Title',
element: 'h1'
},
{
name: 'Heading',
element: 'h4'
}
];
I have those two elements customized and looking as they should as written in that custom stylesheet.
The issue is that I'd like to show, for example, h1 in only a few pages but both in others.
Any help is welcome! Thx!!

Yes, you can initialize every
Yes, you can initialize every editor with different settings. E.g.:
CKEDITOR.replace( 'editor1', { stylesSet: [ ... some styles ... ] } ); CKEDITOR.replace( 'editor2', { stylesSet: [ ... some other styles ... ] } );Or if you want to use external config file:
CKEDITOR.replace( 'editor1', { customConfig: 'config1.js' } ); CKEDITOR.replace( 'editor2', { customConfig: 'config2.js' } );Is this what you were asking for?
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+