Topic: css apply to the styles' list
I can have the list of my css styles in the list by adding this line : content_css : "../../stylesheet/mystylesheet.css" to the tinyMCE.init() function.
But in addition I would like my styles to reflect the style they stand for. So for exemple the verdanaboldunderline style would have the class verdanaboldunderline (hope it's clear).
In a file I can do it simply by adding the class attribute in the option element of the list and the option."name of the style" in my css file
So it looks like that :
<option class="verdanaboldunderline ">verdanaboldunderline </option> in the html file
font-family: Verdana, Arial, Helvetica, sans-serif;} in the css
To make it work in tinycme, I have changed in edito_template_src.js this line by adding the class attribute :
styleSelectHTML += '<option value="' + value + '" class="'+value+'">' + key + '</option>'; (lne 475)
And I have tried to add the option.verdanaboldunderline style in mystylesheet.css, edito_content.css, editor_popup.css, editor_ui.css (I use the advanced theme) and none of this worked.
Any idea will be very helpful