WordPress.org

Ready to get started?Download WordPress

Forums

Problem when paste text from Word (7 posts)

  1. levani01
    Member
    Posted 5 years ago #

    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?

  2. iridiax
    Member
    Posted 5 years ago #

    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.

  3. gweb1
    Member
    Posted 5 years ago #

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

  4. dstarver
    Member
    Posted 5 years ago #

    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.

  5. JSL2
    Member
    Posted 5 years ago #

    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.

  6. jbbrwcky
    Member
    Posted 4 years ago #

    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?

  7. kmessinger
    Volunteer Moderator
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic