Re: easy markup of postings
"tobozo" <[email protected]> Tue, 24 Jun 2003 20:22:57 +0200
| Newsgroups | gmane.comp.cms.phpslash.user |
|---|---|
| Message-ID | <003b01c33a7d$a44c6960$0200a8c0@titan> |
hi phpslashers ;-) > Another, and IMHO better, option might be something like this: > http://www.interactivetools.com/products/htmlarea/ which lets you do wysiwyg > editing right in the page. (cough) wouldn't this be more appropriate to use phplib's wysiwyg editor ? http://www.sanisoft.com/ofwysiwyg/ and it looks pretty much the same eh ? > Trying to convert word files into nice HTML isnt going to be easy, I think. > You'll either get a huge jumbled mess of HTML code and style sheets to > exactly duplicate the look; or something much simplied but doesnt look > exactly the same which will likely confuse and anoy the user who expects it > to work and look exactly the same... you can use the htmlCleaner class from www.phpclasses.org : http://phpclasses.tmoby.com/browse.html/package/1020.html [snip] Use this class to clean up the mess returned from a MSHTML/IE based WYSIWYG editor in the case your users copy and paste from Word. It's not remotely as good as htmlTidy, but its pure php. [/snip] .. and it works fine with phplib's of_wysiwyg ;-) be well tbz ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php