This topic is locked

RTE + cut and paste from word

1/6/2006 1:22:24 PM
PHPRunner General questions
S
seb author

Hello,
I've been having this problem in many projects. When entering text in the Rich Text Editor by PASTING from MS Word, it doesn't clean up the annoying microsoft formatting tags. So the data in the database contains all these useless tags. Since I'm importing all of this into Flash, I need to get rid of it. I know I could PASTE the text into SOURCE mode but it's not an ideal constraint to tell my clients.
Do you know of a function to clean MS WORD junk?

Thanks a lot
seb

A
Alan4573 1/6/2006

Hello,

I've been having this problem in many projects. When entering text in the Rich Text Editor by PASTING from MS Word, it doesn't clean up the annoying microsoft formatting tags. So the data in the database contains all these useless tags. Since I'm importing all of this into Flash, I need to get rid of it. I know I could PASTE the text into SOURCE mode but it's not an ideal constraint to tell my clients.
Do you know of a function to clean MS WORD junk?

Thanks a lot
seb


Seb,
How have you got Word configured? I can copy and paste no problem using RTE with no formatting tags,

This can be because Word has auto formatting turned on by default. To turn this feature off, go to Tools > AutoCorrect Options and uncheck the appropriate checkboxes.
Good article on it here http://www.scottmanning.com/archives/000704.php
Hope this helps.
Alan

S
seb author 1/8/2006

Thanks for the cue Alan,

I'll make sure to do this in my Word app. But your tip doesn't really solve my problem since my main concern is making sure the content management process is fool-proof for my clients. You could imagine the annoyance (although not that big a deal..) of delivering a plug and play management tool BUT with some workarounds and capricious procedures.
If someone knows of any Word cleaning function, i'd be thrilled.

If not, I guess I'll have to explain to my client how to do and not to do things...
thanks
seb