Re: wysiwyg editors

Andrew Tetlaw <[email protected]> Fri, 25 Jun 2004 09:48:58 +1000
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <OFCAF5D3FE.95C2284C-ON4A256EBD.008274D9-4A256EBD.0082D911@bvn.com.au>
[email protected] wrote on 25/06/2004 09:40:40 AM:
> 
> > 
> > Looks like it tries to produce XHTML too, even though it doesn't
> > advertise that.
> 
> Like most of them HTMLArea is a wrapper around the rich text editors 
> supplied by the two platforms. Most of the editor output comes from the 
> client platform not from the javascript library. The Moz editor, 
'Midas', 
> does try to use XHTML but neither are really any good IMHO.

Whoa! Here's an interesting example:

To center text Mozilla will use a div with an inline style like
<div style="text-align: center;">
This is the same with useCSS on or off.

But IE will simply add an attribute to the current surrounding tag like 
this:
<p align="center"> or even <h2 align="center">

YUCK!


Cheers,
Andrew Tetlaw

Bligh Voller Nield
http://www.bvn.com.au
p: (07) 3251 5778
f: (07) 3852 2544


<font face="Arial, Helvetica, sans-serif" size="2">
<b>
Please Note
</b>This document, including attachments, is only intended for the addressees and may contain privileged or confidential information. Unauthorised use, copying or distribution of the document or any part of its contents, is prohibited. If you receive this Email in error please notify us by return Email or telephone. We will reimburse you for any reasonable expenses incurred in meeting this request.</font> 


_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org