Hi
I've sorted out most of my styles combo box problems : I've figured out how to to configure the combo box so it applies my classes AND I've figured out how to import a stylesheet so that the text in the editor texterea is correctly styled
BUT...
I can't figure out how to style the names in the combo box without it inserting the styles into the html code
so with this :
the name "Center text" is indeed centered in the combo box drop-down but when I apply it to a <p> it inserts the class AND the style, like this :
to stop it inserting the style="" I have to remove the styles from the class definition in the addStylesSet() but then the name "Center text" in the combo box drop-down is not centered and shows up in Times font
so... is there a way of styling the names in the combo box WITHOUT it inserting those styles into the html (just the class name) ??
I've sorted out most of my styles combo box problems : I've figured out how to to configure the combo box so it applies my classes AND I've figured out how to import a stylesheet so that the text in the editor texterea is correctly styled
BUT...
I can't figure out how to style the names in the combo box without it inserting the styles into the html code
so with this :
CKEDITOR.addStylesSet( 'default',
[
{ name : 'Center text',
element : 'p',
attributes : { 'class' : 'center' },
styles : {
'font-family' : 'Arial, Helvetica, sans-serif',
'font-size' : '12px',
'text-align' : 'center'
}},the name "Center text" is indeed centered in the combo box drop-down but when I apply it to a <p> it inserts the class AND the style, like this :
<p class="center" style="font-family: arial,helvetica,sans-serif; font-size: 12px; text-align: center;">
to stop it inserting the style="" I have to remove the styles from the class definition in the addStylesSet() but then the name "Center text" in the combo box drop-down is not centered and shows up in Times font
so... is there a way of styling the names in the combo box WITHOUT it inserting those styles into the html (just the class name) ??

Same problem
I'm having the same issue almost three years later. Is there a way to just apply CSS classes when selecting an item in the combo while still being able to style the items in the combo?