Keep formatting for tables copied from MS Word?

I’ve found that copying and pasting tables from MS Word was closest to easiest when it comes to making tables; rather than formatting a table from scratch in a WYSIWYG editor.

The one shortfall I’ve found is that the “center” formatting does not copy over. It LOOKS like it does but the formatting is not actually applied. you have to go through each cell and center it.

Read More

Just wondering if anyone has a clue on how the WP editor handles MS Word and maybe if there’s a fix?

Related posts

Leave a Reply

3 comments

  1. There is a “paste from Word” button. When you’re using the WYSIWYG editor (Visual tab), there’s a button that has a bunch of colored dots on it. When you hover over it, a little box tells you it’s called “kitchen sink”. Click it to expand, and you’ll see a button with the Word icon. Use that to paste in Word content. It’s not 100% effective, but it’s better than direct copy/paste.

    The problem with copying from Microsoft Word is that the characters used to create the content in a Word document are specific to the Word Program. Other programs won’t understand many of the characters and “code” MS Word pops in there. (You can always tell a site that has someone who wrote the content in Word and pasted it onto their site – ever see those weird black diamonds with question marks in the middle? or the capital A with weird characters in odd spots? That’s a “pasted from Word” content bit. the browser can’t render the MS Word-specific characters. it’s kind of like popping a English-speaking-only American in China and telling them they have to teach a group of people how to cook a 10-course meal in 20 minutes – in Chinese. The American would be like “Huh?”)

    I always tell my clients not to bother writing their content in Word. Write it in WordPress and save yourself the headache of trying to fix all the junk/bloat Word puts in there. The Visual editor already has the buttons you need to do what you need, and you don’t get the bloat.

  2. You may encounter other formatting issues or fragments whenever pasting from Word. Have you tried TinyMCE Advanced? It adds some better handling of tables to the editor, although it doesn’t help you paste from Word, it will at least make it easier to recreate the tables visually instead of in code view.

  3. I actually have a pretty awesome way to get the HTML output of the Microsoft Word table formatting.

    I use MS Live Writer and copy and paste from MS Word. Then I can simply view the HTML output and copy and paste that into the WordPress editor. It works perfectly.

    The only downside is that now you have a ton of in-line CSS formatting on the table itself. You can’t really accomplish the same with stylesheets if you have variety and complexity across different tables you want to publish.