Page 1 of 1
FCKeditor style menu doesn't work
Posted: Wed Dec 21, 2005 3:16 pm
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
Re: FCKeditor style menu doesn't work
Posted: Thu Dec 22, 2005 8:37 am
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
From new version, you must put the styles (directly CSS) you wish into TOOLBAR from FCKeditorX admin panel.
Bye

Re: FCKeditor style menu doesn't work
Posted: Thu Dec 22, 2005 12:49 pm
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
Re: FCKeditor style menu doesn't work
Posted: Thu Dec 22, 2005 2:01 pm
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

Re: FCKeditor style menu doesn't work
Posted: Fri Dec 23, 2005 1:34 am
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.
Re: FCKeditor style menu doesn't work
Posted: Fri Dec 23, 2005 9:23 am
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
at 0.9.8.6 i finded a solution also for this
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.