Custom Styles for Tiny MCE

Permalink
Hi,

How can we add custom styles to tiny mce editor styles drop down.

Is it possible to have a content block inside another content block.to achieve something like this:

heading1(css:style1)
content1(css:style2)
heading2
content2

Thanks

 
frz replied on at Permalink Reply
frz
check out typography.css for your theme
furehead replied on at Permalink Reply
furehead
important hint: typography.css has to stay in your theme root (_not_ /css or some other folder)
Remo replied on at Permalink Reply
Remo
longr34 replied on at Permalink Reply
so does this mean we can/should take these styles out of the main.css and place them only in typography.css ?
Remo replied on at Permalink Reply
Remo
you basically put the following styles into typography:
- those you want to see while editing the text
- those you need to be able to select in the wysiwyg editor
longr34 replied on at Permalink Reply
the tiny editor doesn't seem to be updating the styles dropdown menu. What could be wrong? Not all of them show up. The ones that do show up I tried taking them out of typography.css and reinstalled the theme and they are still there. I also tried clearing my cache.
rygar replied on at Permalink Reply
rygar
I'm not sure if this will solve your specific problem but you can control what shows up in the WYSIWYG drop downs using a custom layout as described in this post:
http://www.concrete5.org/index.php?cID=16217...

Then you can add corresponding styles to typography.css to take care of the rest.

Hope that helps.

ry