Support » Fixing WordPress » Problem when paste text from Word

  • I use “Paste from Word” button, but after inserting the text, in HTML editor it appears some unnecessary codes, like this:

    <!--[if gte mso 9]><xml> Normal 0 false false false </xml><![endif]--><!--[if gte mso 9]><xml> </xml><![endif]--><!-- --><!--[if gte mso 10]> <mce:style><! /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} --> <!--[endif]-->

    How can I solve this problem?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Do not paste from Word, it’s buggy even with the paste from Word option. Paste from a text editor like notepad or use something like Windows Live Writer instead.

    Yes copy your text from Word into Notepad then copy the text from Notepad into WordPress and it should be just fine!

    I had a similar problem. Each time I would copy text from Word into my blog, my blog stopped working with Internet Explorer. People who were using Firefox could still read my blog, but people using IE couldn’t.

    It’s good to know that I’m not the only one who has had these problems. I will start using notepad as was suggested here.

    I have also seen this problem in WP 2.6.3 but I am not sure whether it is fixed in WP 2.7. In the HTML code that was posted by levani01, I think that the problem is on the last line --> <!--[endif]-->

    The CSS conditional comment that starts <!--[if gte mso 10]> seems to be closed by --> before the <!--[endif]--> so the <!--[endif]--> is not interpreted by IE as a CSS Conditional Comment. It also appears that <!--[endif]--> should be <![endif]--> like it is in the statement that starts <!--[if gte mso 9]>

    Internet Explorer 6 or 7 actually displays the <!--[endif]--> on the web page but nothing else is visible after that on the page because IE doesn’t render any more HTML code.

    Is there any way to fix this other than notepad? I ask this because I have a blog where numerous people post to it and they’re what you might call technology-deficient. No css trick to fix it perhaps? Or a plugin?

    Moderator kmessinger


    Paste from Word has worked for me but you might try Publish from Word. That has worked for me with no problems.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem when paste text from Word’ is closed to new replies.