Forum Moderators: open

Message Too Old, No Replies

Javascript version of HTMLTidy

Javascript to add to custom built editor.

         

Condor12

8:35 am on Sep 24, 2004 (gmt 0)

10+ Year Member



Hi,

I've a WYSIWYG browser based editor that I built. It uses mostly javascript to manipulate text within an IFrame.

I have some code that cleans some MS Word formatting but I want something more robust. I need some javascript that can clean html code and maybe even parse it to xhtml.

I've looked at HTMLTidy but I need something I can add to my existing editor, hence the need for javascript or ASP.

Any advise and/or pointing in the correct direction would be great.

Thanks

Alan

coopster

1:10 pm on Sep 24, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Have you had a look at the open source project, htmlarea?

[sourceforge.net...]

Condor12

1:31 pm on Sep 24, 2004 (gmt 0)

10+ Year Member



Thanks coopster,

I've seen the likes of this before. I'm using my own editor so I'll have to try integrating the code they use, copyright included of course :)

Thanks