Richard Frovarp wrote:
I've got a couple of additions to clean-xhtml.xsl that I wanted to see what others thought.

where is that one used again? post-editing? is that a global or fckeditor-specific file?

1) Make sure the title element is not empty. This will cause problems when trying to edit pages with IE, as the element will collapse. If it is empty, insert the text Title.

yeah, we need a couple of those. empty textareas, scripts and divs confuse firefox... shouldn't we add   rather than "Title"? we don't want those placeholders to end up in published pages...

2) Strip out the spellcheck="false" attribute from the body tag that FCKeditor sticks in to turn off Firefox's spell checking feature.

if you're talking about an fckeditor-specific clean-xhtml.xsl, that's fine. if it's global, i'd rather we do editor-specific cleanups in the respective modules...


--
jörn nettingsmeier

home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621

Kurt is up in Heaven now.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to