FCKeditor style menu doesn't work

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
thejimp

FCKeditor style menu doesn't work

Post by thejimp »

I'm using CMSMS version 0.11.1.

I've been able add a custom configuration file into FCK by following the instructions on their wiki (http://wiki.fckeditor.net/Developer%27s ... tions_File), but I can't get custom styles to work.

I've added the following line to my config file...

FCKConfig.StylesXmlPath = '/mystyles.xml';

...and I placed the styles xml doc in the root of my web, but the Style menu is still blank.

What am I missing? Anyone have any success getting this to work?

thanks,
jimp
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm

Re: FCKeditor style menu doesn't work

Post by megabob3 »

thejimp wrote: I'm using CMSMS version 0.11.1.

I've been able add a custom configuration file into FCK by following the instructions on their wiki (http://wiki.fckeditor.net/Developer%27s ... tions_File), but I can't get custom styles to work.

I've added the following line to my config file...

FCKConfig.StylesXmlPath = '/mystyles.xml';

...and I placed the styles xml doc in the root of my web, but the Style menu is still blank.

What am I missing? Anyone have any success getting this to work?

thanks,
jimp
You miss that i don't load your custom file :P

From new version, you must put the styles (directly CSS)  you wish into TOOLBAR from FCKeditorX admin panel.

Bye ;)
Pj

Re: FCKeditor style menu doesn't work

Post by Pj »

Hi Megabob,


I still have one small problem, in the styles menu the items are not visible because some of my styles are white colored. So is the background of the style menu.
How can I solve this?

see for instance:
.kop, h1
{
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 14px;
color: white;
font-weight: bold;
letter-spacing: 10px;
text-align: center;
margin-top: 50px;
}


thanks
Pjotr
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm

Re: FCKeditor style menu doesn't work

Post by megabob3 »

Pjotr wrote: Hi Megabob,


I still have one small problem, in the styles menu the items are not visible because some of my styles are white colored. So is the background of the style menu.
How can I solve this?

see for instance:
.kop, h1
{
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 14px;
color: white;
font-weight: bold;
letter-spacing: 10px;
text-align: center;
margin-top: 50px;
}


thanks
Pjotr
I am working on this.

Wait news.

I am having problem on CSS classes parser.


For background color i could do few.

Bye ;)
iNSiPiD

Re: FCKeditor style menu doesn't work

Post by iNSiPiD »

Styles now work using the new Styles tab in F*CKEditor's Admin screen.

Make sure those styles also exist in your page template's stylesheet though if you want to see them applied in the textarea.

There is now a bug with removing applied styles (how?) or changing them to another style.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm

Re: FCKeditor style menu doesn't work

Post by megabob3 »

iNSiPiD wrote: Styles now work using the new Styles tab in F*CKEditor's Admin screen.

Make sure those styles also exist in your page template's stylesheet though if you want to see them applied in the textarea.

There is now a bug with removing applied styles (how?) or changing them to another style.

No no bug :D

at 0.9.8.6 i finded a solution also for this :P

You must put into FCK admin styles all CSS that you wanna see into TOOLBAR  of all STYLESHEETs installed.

When you editing a page with a specific stylesheet, don't worry will appear only that CSS that are into this STYLESHEE.

It is an intersection

http://en.wikipedia.org/wiki/Intersection_(set_theory)

A = all CMSMS stylesheets

B = FCK admin panel styles


A ∩ B will appear into FCK TOOLBAR.
Locked

Return to “CMSMS Core”