Page 1 of 1

Global content block styles TinyMCE

Posted: Mon Jul 28, 2008 3:40 pm
by -null-
I have a stylesheet for the site I'm setting up using CMS MS and have some styles I'd like to apply to code in a global content block.  The problem is the styles do not appear in the Tiny MCE style dropdown.  I have set the stylesheet to screen but it doesn't seem to work.  The styles do however appear in the page editor drop down.

I also tried adding the style into the box marked
If you leave the field empty, TinyMCE will parse your CSS file and list the styles contained in it to the user. If you want only some styles presented to the user, specify them in the form "CustomName1=style1; CustomName2=style2" in the first field below.
however when I do that the toolbar disappears from Tiny MCE.

I'm using CMS Made Simple 1.3.1 with the default Tiny MCE that downloads with it.

Re: Global content block styles TinyMCE

Posted: Mon Jul 28, 2008 6:55 pm
by Dr.CSS
Try going to module manager and updating tiny to see if that helps...

New instructions for tiny custom CSS box...

If you leave the field empty, TinyMCE will parse your CSS file and list the class styles contained in it to the user. If you want only some styles presented to the user, specify them in the form "CustomName1=style1; CustomName2=style2", "style1" being a class call in your stylesheet and you don't put the . normally used for class calls as it is already in your CSS, it will look like this text, in the first field below.

Re: Global content block styles TinyMCE

Posted: Mon Jul 28, 2008 7:36 pm
by -null-
Updating helped.  I didn't realise I didn't have the newest version  :-[

It still doesn't parse my stylesheet but I can add styles.  Only thing now is that it add a span tag but I guess changing that would need some custom coding.

Re: Global content block styles TinyMCE

Posted: Tue Jul 29, 2008 1:13 am
by Dr.CSS
If you set custom styles in that box you won't get any of your stylesheet calls in the style drop down, BTW: the style drop down only pulls class calls from your stylesheets...