Topic: Style items in the style_formats drop down
Is this possible?
I know it's possible to style items in the format drop down by using the following:
.defaultSkin .mce_h1 span.mceText
It seems the id of the items in the drop down are generated by when they open. For instance, if I am trying to to target the third item in the style drop down, I can target it like so if and only if the style drop down is the first drop down I open:
.defaultSkin .mceMenu #mce_9 .mceText
However, if I also need to use the formats drop down, and I open the formats drop down first, then the third element in the style drop down has an id of mce_19 (as opposed to mce_9 if I open the style drop down first).
Am I missing something?
Perhaps while setting style_formats we can assign a class that will be applied in that drop down? Therefore letting users target how it visually looks in the drop down?
Thanks for any help in advance!