Hello,
I'm going to use FCKeditor in a CMS (Infoglue). I have one question that remains. If i want to change the skin of my website later (and so have a new stylesheet with new style names), do i have to edit all the contents of my website to set the new styles ?
Isn't there a way to have an abstraction between contents and styles in order to easily change skins ? Like creating a "virtual" class in the content : "<a class="green_virtual" href="link">link</a>" and a mapping file to set this virtual class to the style of our current stylesheet.
Thanks in advance
I'm going to use FCKeditor in a CMS (Infoglue). I have one question that remains. If i want to change the skin of my website later (and so have a new stylesheet with new style names), do i have to edit all the contents of my website to set the new styles ?
Isn't there a way to have an abstraction between contents and styles in order to easily change skins ? Like creating a "virtual" class in the content : "<a class="green_virtual" href="link">link</a>" and a mapping file to set this virtual class to the style of our current stylesheet.
Thanks in advance

Re: Separate contents from CSS
Is creating a mapping file just to change style names really good idea?
It's rather wrong to a have link style named "green_xxx". The more accurate name would be "news_link" etc.
I mean, I think that better way would be to use names of CSS class that simply tell what this class is for, not what is the current behaviour of it.
Having class named news_link, there is no need to change it from "green_xxx" to "red_xxx" each time you change the skin.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Separate contents from CSS