I am trying to feed my webpages Stylesheet into the CSS so that is would dynamically create the drop-down lists with that. Is there a way to do it without changing all of the XML?
Wed, 04/22/2009 - 18:57
#1
Re: Trying to feed CSS to the Editor
Re: Trying to feed CSS to the Editor
What I have found so far is that you HAVE to put it in the XML file, but the problem is that I am using the editor on a ColdFusion server so I have probably 15 websites all using the same exact config files. I set up different Toolbars but if the only way to change the drop down Style option is the XML then all of the sites have to have the same exact style... a very ugly thing to have to do.
Re: Trying to feed CSS to the Editor
Re: Trying to feed CSS to the Editor
There is a file called fckstyles.xml. That is th file with the styles information.
Re: Trying to feed CSS to the Editor
Re: Trying to feed CSS to the Editor
Yeah it is just XML. Basicall here is how you will do it.
CSS
XML
So the title get put in the first Style tag. And then each attribute goes into a child Style tag. If you are unfamiliar with XML I would suggest googling it. If you want to be a good web developer you need to know XML. Every coding language pretty much uses it.
Re: Trying to feed CSS to the Editor
Thanks
Re: Trying to feed CSS to the Editor
Yeah at least for me it was just three sets on my CSS so it wasn't much at all.