Global content block styles TinyMCE

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
-null-

Global content block styles TinyMCE

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Global content block styles TinyMCE

Post 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.
-null-

Re: Global content block styles TinyMCE

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Global content block styles TinyMCE

Post 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...
Locked

Return to “CMSMS Core”