In my main project, I use CKEditor to allow clients to edit content in various ways and areas - including areas that have differing style settings (b/g color, fonts, type color, etc.).
I've got the editor using these settings via calling CKEditor.replace() immediately following the editor load and setting "contentsCss" with the appropriate CSS info. Works great.
Except - these styles are also getting applied to the dropdown menus in the toolbar at the top, the font and style dropdown menus. Do. Not. Like.
I'd like some nudges/guidance on how to better specify that the styles passed through are applied only to the main body of the editor, and not across the board. Would it be just as simple as adding the ID of the textarea itself to the styles passed in?
I've got the editor using these settings via calling CKEditor.replace() immediately following the editor load and setting "contentsCss" with the appropriate CSS info. Works great.
Except - these styles are also getting applied to the dropdown menus in the toolbar at the top, the font and style dropdown menus. Do. Not. Like.
I'd like some nudges/guidance on how to better specify that the styles passed through are applied only to the main body of the editor, and not across the board. Would it be just as simple as adding the ID of the textarea itself to the styles passed in?
