Forum closed. New forum available at http://community.wymeditor.org/

Editor XHTML Compatibility plans?

Discuss features, code, contributions, ideas, suggestions, ...
For bugs, patches and feature requests, please post on the Trac:
http://trac.wymeditor.org/

Editor XHTML Compatibility plans?

Postby chromaticbum on Tue Mar 06, 2007 6:38 am

Hello all,

I was wondering if there were plans in effect to make the actual editor's code XHTML compliant.

IE: http://validator.w3.org/check?verbose=1 ... editor.htm

Would validate with zero errors against XHTML-strict or XHTML-transitional DTD.

I do not know much about inline HTML editors, so I do not know if this is even possible, but it would be very nice if it were.

Much respect to this project, it is exactly what I am looking for in my CMS in design.

Thank you,
Hollin Wilkins
chromaticbum
 
Posts: 2
Joined: Tue Mar 06, 2007 6:31 am

Postby turicon on Tue Mar 06, 2007 10:05 pm

Hello chromaticbum,

please remember: The most important is, that the written code is valid! And I think, WYMeditor makes that very good.
The control over JavaScript are complicated a little, different Browser must be considered! And do these work correctly after the standards? :wink:

Turicon
turicon
 
Posts: 6
Joined: Sat Jan 20, 2007 4:54 pm
Location: Sinsheim/Germany

Postby chromaticbum on Wed Mar 07, 2007 4:55 am

i know that getting everything to work across browsers is a very tricky task, as well as making sure that the javascript and XHTML are all compliant with the new very strict standards. i also know that it is possible, i am just wondering if it is a long-term goal of this project. and you are right, producing good code is the most important aspect, but it would be ABSOLUTELY AMAZING if the code that produced the code were perfect as well :D.

like i said, i have never developed a wysiwyg inline html editor before, and i know very little about how they work, so are you saying that it is impossible? or just very difficult?
chromaticbum
 
Posts: 2
Joined: Tue Mar 06, 2007 6:31 am

Postby turicon on Wed Mar 07, 2007 10:56 am

Please note, that is a demo! And you must read the error analysis correctly! Most errors are (special) Eventhandler, which you can ignore safely.
It is correct that WYMeditor "iframes" used and in principle not is "XHTML strict", but "XHTML Transitional". In your project you can change that without problems.
OK? 8)

cu,
Turicon
turicon
 
Posts: 6
Joined: Sat Jan 20, 2007 4:54 pm
Location: Sinsheim/Germany

Postby jfh on Fri Mar 09, 2007 9:35 am

WYMeditor 0.3 uses XHTML Transitional for the main container, and XHTML strict for the iframe page.

MSIE's event handlers are now dynamically added by JavaScript.

See it in action (note: this is work in progress) at http://files.wymeditor.org/wymeditor/trunk/src/

HTH,
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium

Postby facildelembrar on Fri Sep 14, 2007 7:45 am

How about support for pages served as application/xhtml+xml?
facildelembrar
 
Posts: 1
Joined: Wed Sep 12, 2007 7:17 am
Location: Brazil


Return to Developers

Who is online

Users browsing this forum: No registered users and 2 guests