Anyone know how to get the "custom stylesheet" option to work in FCK Editor?
Where should the path to teh style sheet be relative to? site root? theme root? I have tried both with no luck... What happens when this works? Styles show up in FCK Editor Dropdown?

Any help would be greatly appreciated...

Comments

ontwerpwerk’s picture

Status: Active » Closed (works as designed)
  • the styles will be used on the in the editor area for the text you enter (so the what you see is what you get part will be more like your site)
  • the path must be relative to your site root or a full url
  • the fckeditor styles dropdown can be changed by modifying the fckstyles.xml but that is beyond the scope of the module at the moment,for more information about that you must read the fckeditor documentation http://wiki.fckeditor.net/

(this feature is not yet extensively tested)

jeffrey.dalton’s picture

Status: Closed (works as designed) » Closed (fixed)

OK that is making more sense to me now. so this doesn't automatically trigger the "style" menu to appear in the FCK Editor with the assigned style sheet. It just loads the style sheet as the wysiwyg content style so the content looks like your site. I was thinking this setting would put the custom style sheet into the "style" drop down of FCK so you could assign the custom styles to the content.

I am guessing the way to make that happen is just following the documentation mentioned on FCK Editor site for XML changes...

thank you for the clarification.

dadderley’s picture

I have just installed 2.5 and I do not see the "style" menu at all. I copied the fckstyles.xml file to my themes directory thinking that might have been the problem but it did not help.
I would love this to work. Thanks in advance

dadderley’s picture

wwalc’s picture

Just in case someone searched and couldn't find it:
To see the "style" combo box in menu, add the 'Style' button to the toolbar in modules/fckeditor/fckeditor.config.js.