TinyMCE custom content CSS

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
3/23/2011 12:10:28 PM
Gravatar
Total Posts 49

TinyMCE custom content CSS

TinyMCE allows you to apply a custom css to the content area using the init() call. (http://tinymce.moxiecode.com/wiki.php/Configuration:content_css)

How can this be done within mojo?

I've tried adding that script to several place, but I'm sure that's not how tinyMCE is being called in Mojo. 

Thank you!

3/27/2011 8:37:38 AM
Gravatar
Total Posts 18439

Re: TinyMCE custom content CSS

it is implemented to use the same css in the editor as in the site so that it can look as similar as possible in the editor as it will look after editing.

In the new release of mojoPortal coming later this week, there will be an extra css class on the body element used inside the editor and this will make it easier to override any css that you need to with this:

body.wyswygeditor { /* your style rules here */ }

Hope it helps,

Joe

3/28/2011 8:09:35 AM
Gravatar
Total Posts 49

Re: TinyMCE custom content CSS

Thanks, Joe. I'll be looking forward to the new style options. For whatever reason most of my styles are not being brought into the textarea of the editor.

 

Thanks

Tim

You must sign in to post in the forums. This thread is closed to new posts.