I am using two plugins for ckeditor - stylescombo and stylesheetparser
I am trying to get all styles in the css I have (somewhere on the web) to show up as a drop down in the ckeditor. Right now I have all elements appearing the the styles dropdown that are extending a html element in the css. EX:
p.class1 { color:red; } p.class2 { color:blue; }
However, in my css file that is being parsed, I also have elements such as:
.otherClass { font-size:20px; } .otherClass2 { font-size:25px; }
As you can see, the styles are not extending any html element and are just like ".someClass" instead of "someElement.someClass"
The stylesheet parser is correctly parsing the entire css because if you go into the source of the text and add one of the invisible classes on an element, it does take it and display as the class should. Those classes just don't appear on the dropdown style menu.
Does anyone have any idea how to fix this?