Hello all,
I'm using FCKeditor as part of Easy Site Editor, which is basically a very simple CMS.
What I want to do is have my own styles (as would normally be defined in my css file) selectable via the 'styles' drop down list within FCKeditor. I was initially under the impression that it was the path to the FCKEditorAreaCSS that I needed to change within the FCKConfig.js file, however further reading of the documentation leads me to think that customizing the FCKeditorArea css path is not what I want to do, and in fact I need to write a new version of the fckstyles.xml file?
My problem is that even the default styles within the fckstyles.xml file are not selectable via the drop down!
I am brand new to this, so any help you can offer is gratefully received.
Fraser.
P.S Because FCKeditor is part of Easy Site Editor, I haven't written or edited any of the code that initiates FCKeditor.
I'm using FCKeditor as part of Easy Site Editor, which is basically a very simple CMS.
What I want to do is have my own styles (as would normally be defined in my css file) selectable via the 'styles' drop down list within FCKeditor. I was initially under the impression that it was the path to the FCKEditorAreaCSS that I needed to change within the FCKConfig.js file, however further reading of the documentation leads me to think that customizing the FCKeditorArea css path is not what I want to do, and in fact I need to write a new version of the fckstyles.xml file?
My problem is that even the default styles within the fckstyles.xml file are not selectable via the drop down!
I am brand new to this, so any help you can offer is gratefully received.
Fraser.
P.S Because FCKeditor is part of Easy Site Editor, I haven't written or edited any of the code that initiates FCKeditor.
Re: Styles list customization
Following advice in a thread by 'bpeskoe', I edited the FCkconfig.js file and created a custom styles.xml file and editorarea.css file and it works fine. Previews are shown in the styles list and applied.