How could total separation of content (xhtml/xml) and presentation (CSS) be achieved with the Bitflux Editor (or Mozile)?

Simon Rönnqvist <[email protected]> Fri, 4 Mar 2005 03:26:48 +0200
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>
   Hi!

* * * BACKGROUND * * *
For my thesis work I'm looking for a CMS along with a WYSIWYG that  
would support separation of content from presentation (CSS) to the best  
possible degree. BxCMS and Lenya are my candidates for the CMS but at  
least the Bitflux Editor seems to be a clear winner when it comes to  
the WYSIWYG-editor. (Or would even Mozile be good for the job?)  
Therefore I'd like to evaluate the Bitflux Editor's (and possibly  
Mozile's) abilities for separation of content and presentation. If  
you'd be very interested in this evaluation I could consider writing  
the thesis in English, otherwise I might stick to my mother's thounge  
Swedish. :-) Do you have any comments or thoughts about these things?

* * * TO THE POINT * * *
One thing which I at this point think seems to be missing from the  
Bitflux Editor (and Mozile) is an ability to edit external  
CSS-properties. :-) It'd be great if one for example could give an  
image a specific ID and then in the separate CSS float that element  
right or left. To my present understanding (correct me if I'm wrong)  
I'd have to specify a class i.e. called left or right, which  
semantically wouldn't make any sense. Then I might just as well specify  
a style="float: ..." attribute instead, and then the separation of  
content and style would have failed at that point. (One could of course  
argue wether there's a need for total separation or not, but let's say  
there is. This img floating is just an example.)

Basically what I'd be looking for is an ability to assign ID:s and  
classes to elements and then to make certain predefined css-properties  
apply to the ID:s or classes of choise. One could build a separate  
CSS-editor which could be used with any WYSIWYG xhtml/xml editor that  
would allow the user to define class and id attributes for the  
elements. But a better idea would be to integrate the CSS-editor with  
the WYSIWYG so that all style related data (CSS) would automatically be  
separated from the markup (html/xml) without the user even having to  
know about it.

More on this here:  
http://digital-web.com/articles/integrating_css_with_cms/comments/ 
#comment835

So to begin with I guess being able to assign class and ID attributes  
to different elements would get me quite far. To my understanding this  
is at least possible in Bitflux Editor 2.0, isn't it? How about Bitflux  
Editor 1.0 or even Mozile? (I'd prefer being able to specify attributes  
directly to elements such as img-tags, extra span and div-tags would do  
the job but in a rather ugly way.)

Do btw. all or any of these editors have a possibility to give the user  
a set of choises of classes (or other attributes)?
I.e. <div class="floatLeft">, <div class="floatRight"> and so on... and  
not just tags without attributes.

   regards, Simon

-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users