WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to Paste from Word onto a Page (6 posts)

  1. bobover3
    Member
    Posted 3 years ago #

    I want to paste a Word document on a Page. When I do, all my original formatting is lost. How can I keep the look of the original?

    Also, if I try to edit my Page, what I see on the Edit Page is different from what I see in a Page preview. How can I get the Edit Page to match the actual Page?

  2. Paul
    Member
    Posted 3 years ago #

    MS Word formatting should be stripped from posts/pages this is because it creates problems on different browsers (notably IE).

    You will have to do some html coding within WP to match the formatting you want.

  3. James
    Happiness Engineer
    Posted 3 years ago #

    When writing or editing a post or page in the Visual editor tab (as opposed to the HTML editor tab), click the button on the far right (looks like three horizontal rows of tiny icons).

    This will display a second row of editor icons.

    Now, just click the button with the Word logo in it, and a special box will appear allowing you to paste text directly from a Word document.

    TinyMCE (the third-party tool used for WordPress' Visual editor) will do its best to translate the Word-formatted text to HTML. It's not perfect, but it's better than nothing.

  4. bobover3
    Member
    Posted 3 years ago #

    I used the Word Paste button and MCE. Didn't help.

    I tried re-typing the document in the editor, but I can't get that right! I thought the editor was WYSIWYG, but it isn't. There seems to be little connection between what I type and see on the screen and what's published. This is especially true of the spaces between lines of text. I can't seem to control this. If I enter 2 or 3 spaces between lines, the published page shows no spaces at all, etc.

    I know little or no HTML, so coding isn't much of an option.

    I just need to know how to control text, and how to see the connection between what I type and what's published. Is there any reference material I can look at?

    Thanks very much for your help!

  5. WordPress autmomatically strips extra spaces in the editor. If you want some extra spaces in between lines, try this <b>&nbsp;</b> for an extra paragraph break in the html editor. You won't be able to type that or see it in the visual editor, so enter it in the html editor. See http://codex.wordpress.org/How_WordPress_Processes_Post_Content

  6. bobover3
    Member
    Posted 3 years ago #

    Thanks for your help! I'd be lost without experts like you.

    What I finally did was get the Tiny MCE Advanced plug-in, and check the "stop removing p and br tags" box. This also added several extra edit buttons that I needed. Now I seem to have what I need.

    I hope someday WordPress will just be able to import Word documents as is, but until then, I can get by with this.

    Thanks again for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic