htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0 - Add-Ons: Re: [Luis] Luis Word Cleaner with HTML CLeaner: Edit Log



TNeves
New User

Feb 3, 2005, 10:16 AM


Views: 42367
Re: [Luis] Luis Word Cleaner with HTML CLeaner

Hi Luis,

I tried to make the changes that you said. As I want to remove tags FONT and TABLE (table, td, tr...), I start changing this line:

oTags = editdoc.all.tags("FONT"); if (oTags != null) {for (var i = oTags.length - 1; i >= 0; i--) {oTags.outerHTML = oTags.innerHTML;}}

to this line:

oTags = editdoc.all.tags("FONT"); if (oTags != null) {for (var i = oTags.length - 1; i >= 0; i--) {cleanEmptyTag(oTags);}}

But I did not see no difference in generated code HTML. I only want to preserv this tags when paste a text in the HTMLArea: IMG, B, I, U, A.

The example that I am using to make the tests is in: www.labomba.com.br/problema/index.html

Thanks again..
(Obrigado!!!)
Faša valer a pena

(This post was edited by TNeves on Feb 3, 2005, 10:21 AM)


Edit Log:
Post edited by TNeves (New User) on Feb 3, 2005, 10:21 AM


Search for (options)