hello everyone.
I have been searching hours and can not figure out how to make sure the drop down on the style is linked to the external cascading style sheet.
I have the field with the style sheet working but not the drop down.
This is for the editor area:
$oFCKeditor->Config['EditorAreaCSS'] = "/editor.css";
What is it for the dropdown?
I tried this but it did not work: $oFCKeditor->Config['FontStyles] = "/editor.css";
What is the right way to do this?
I have been searching hours and can not figure out how to make sure the drop down on the style is linked to the external cascading style sheet.
I have the field with the style sheet working but not the drop down.
This is for the editor area:
$oFCKeditor->Config['EditorAreaCSS'] = "/editor.css";
What is it for the dropdown?
I tried this but it did not work: $oFCKeditor->Config['FontStyles] = "/editor.css";
What is the right way to do this?
Re: style sheet for style drop down (php version)
I would like to link the styles to the external sheet using classes.
-Steve
Re: style sheet for style drop down (php version)
Were you ever able to find the code for the style sheet drop down? I also am interested in this - it would help out a great deal.
I am using PHP as well.
Thanks
Re: style sheet for style drop down (php version)
I've managed to get FCK to apply styles inline more successfully. For example, put this in your fckstyles.xml:
Then upload, clear cache and refresh. You should now be able to select an img, and apply the "Image on Right" style. The image should get a border and instantly float right in the editor UI. The code written by FCK looks like this: