Re: wysiwyg editors
Alex Russell <[email protected]> Thu, 24 Jun 2004 08:14:03 -0700
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Organization | netWindows.org |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 24 June 2004 6:07 am, Matt wrote: > > Don't forget the worthwhile: HTMLArea 3 > > Hrm... very nice. Thanks for pointing it out. > > Looks like it tries to produce XHTML too, even though it doesn't > advertise that. Well, <br /> anyway - it does produce depreciated > <font> tags and according to the forum does no-nos like nesting > <table>s inside <p>s. > > How strict is netWindows about XHTML? Does a document have to be > valid, or just well-formed? netWindows doesn't every run a validator over your inline constructors, if that's what you mean. We don't ever try to impose any restrictions that the browser wouldn't reasonably enforce since, after all, we're piggy-backing on the browser's infrastructure. There is even code in a couple of places to make sure we do the right thing regardless of IE "mode" since I personally feel that it is unreasonable for any DHTML toolkit to tell you how you should be marking up your page. That said, each inline ctor _is_ expecting to be able to parse-back a certain "interface" from the ctor node and its descendants. HTML 4 or XHTML, it doesn't care, but it will care that it finds things at the right nesting level. Some of the table-like widgets (the sort table, etc.) do require a certain DOM structure since they don't actually re-write the DOM when created, but that's the strictest we get. No validity checking is ever enforced. Regards - -- Alex Russell [email protected] BD10 7AFC 87F6 63F9 1691 83FA 9884 3A15 AFC9 61B7 [email protected] F687 1964 1EF6 453E 9BD0 5148 A15D 1D43 AB92 9A46 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFA2u+8oV0dQ6uSmkYRAsZiAKCrz2bHGsfzbacaICpYdnHzVHNZzwCeNGvF ddYSwl47N/UoFzSsMma3YXk= =ebl8 -----END PGP SIGNATURE----- _______________________________________________ The netWindows developers list: [email protected] http://netwindows.org/mailman/listinfo/devel_netwindows.org