Previous Message
Next Message

Cutting and Pasting from Word?!

Sent by Geoff Bowers on 6 November 2003 02:02


Peter Bell wrote:
> I currently use Ektron's EWebEdit as the WYSIWYG editor for my CMS. It's
> not bad most of the time, but it often does a horrible job when users
> cut and paste from Word. My understanding is that all of the ActiveX
> WYSIWYG editors just hook into the same Microsoft code, so their
> capabilities are similar . . . Has anyone ever come across a WYSIWYG
> editor that genuinely does a good job of preserving formatting from
> Word?

Preserving Word formatting is a bit ambitious.  It's a bit like saying i 
want to preserve exact formatting across all web browsers on all 
operating systems.  It's just not possible.

All you can hope to do is approximate the formatting.  Word has it's own 
crack-smoking way of styling up its documents so when you cut and paste 
into most Rich Text Editor panes you get a combination of MS specific 
inline styles and font tags.  If the Word document is *strictly* marked 
up with clean heading styles and the like you may get a faithful 
representation in HTML *if* you have an appropriate style sheet.

More often than not Word, with the help of its users, whips up a 
cocktail of HTML dross.  The best you can hope for here is a decent text 
editor that can "sweep" or "clean" out all the rubbish HTML -- but with 
that may go much of your formatting.

-- geoff bowers
http://farcry.daemon.com.au/

--
http://cms-list.org/
please trim your posts.
Previous Message
Next Message

Message thread:

Possibly related: