Page 1 of 1

Styles dropdown list in TinyMCE

Posted: Tue Nov 22, 2016 7:58 pm
by Tata
One more question:
The use of Styles dropdown in TinyMCE is very practical feature. However, in the list are to many styles, even the styles which don't need to be (e.g. navigation classes and other special template classes) because they have actually very seldom usage in the editor.
How can the stylesheet be written such a way that only the classes usable in the content would be included in the Styles dropdown list. There are the content headings, paragraph, DIV, code etc. in the first left dropdown list. The rest of styles taken from the stylesheet used in content are e.g.:
text emphasizing (color, font, size, style, shadowing)
text/image, DIVs, image standard dimensions, bordering, shadowing, floating, positioning, backgrounds
etc.
It would be also nice if the classes/IDs would be sorted by alphabet for easier orientation.

Re: Styles dropdown list in TinyMCE

Posted: Wed Nov 23, 2016 3:05 pm
by cmb
Tata wrote:How can the stylesheet be written such a way that only the classes usable in the content would be included in the Styles dropdown list.
See http://cmsimpleforum.com/viewtopic.php? ... 62&p=28591.