You are not logged in.
There are a few things that I would like to suggest for XHTML and HTML compliancy and removal of depreciated tags.
1. /htmlarea.js create var isXHTML (boolean variable) for setting XHTML compliancy and latest HTML specs
* isXHTML = true;
2. /htmlarea.js commands for using span tags with styles
* font (style="font-family: arial,helvetica,sans-serif;")
* forecolor (style="color: #ccc;")
* hilitecolor (style="background-color: #ccc;")
* strike and underline could remain as is, although style="text-decoration: underline;" and style="text-decoration: line-through;" work great too
3. /popups/select_color.html HTML is pretty poor
* attributes not quoted
* style for curser doesn't work for Firefox
I added a ticket for this here:
http://xinha.gogo.co.nz/cgi-bin/trac.cgi/ticket/95
I have already uploaded a patch for /popups/select_color.html
This is for discussion on this issue.
rift design studio
[url]http://www.riftdesign.com[/url]
Offline
Offline
As far as I can tell with making things like text color (forecolor) more HTML 4.0 complient, we would have to move away from using queryCommandValue("forecolor") to use a function to manual wrap the selected text in a <span style="...">...</span> method, which probably makes it more difficult to remove it. Any thoughts here?
FILE: htmlarea.js
LINE: 2191
rift design studio
[url]http://www.riftdesign.com[/url]
Offline