Hello,
I have installed FCK for users of my site.(FCK 6.x-1.3) without Wysiwyg module
Everything OK.
But how can I get a new style in the dropdown style list.
For now, I have :
Marker : Yellow
Marker : Green
Big
Small
Etc.
I have made the following :
Copy fckstyles.xml from sites/all/modules/fckeditor/fckeditor to sites/all/themes/basic (my theme)
I have configured FCK CSS in admin/settings/fckeditor/edit/myprofil :
Predefined styles : define path to fckstyles.xml
Predefined styles path : /sites/all/themes/basic/fckstyles.xml
I left untouched Editor CSS with default value “use theme CSS” and nothing in CSS path because I don’t intend to add a new CSS.
Nothing more is specified here.
I know for sure that system is looking for fckstyles.xml in the right directory because if I make wrong the path or the name, I get an error.
To look how it works I tried to suppress the Yellow marker or to add a red marker in the xml file, emty cache, but I see always the same default style in my drop down list.
Do I have to do another thing for it to work?
I red a lot on that subject here, and some posts specify to add style button (I already have it), update fckconfig.js (is it for older release? Or do I actually still need to do something there? If yes what?)
Last but not least : at the end I wand to add something similar to a CSS class like :
/* style : chapter */
.chapitre {
font-weight: bold;
color: #B46414;
font-size: 14px;
}
Will it be possible via the xml file or do I need to add a custom CSS file?
Comments
Comment #1
jorrit commentedCould you empty your browser cache? Could you upload your styles.xml here?
Comment #2
sahuni commentedThanks for your reply.
I emptied my browse cache and it was OK afterwards.
And to give a clue to newbyes like me, I added to my fckstyles.xml :
Thanks again and all the best
Comment #3
jorrit commented