WordPress.org

Ready to get started?Download WordPress

Forums

Copy and Paste from Word to Write Page (3 posts)

  1. castlebrook
    Member
    Posted 7 years ago #

    Hi,
    I wanted to copy a sales letter from Microsoft Word to my Write Page section so that the sales letter would be there as a page.

    When I copy and paste all the formatting disappears and evn when I try and format it with the editor it just reverts.

    Any idea what the problem is please.

  2. yohang
    Member
    Posted 7 years ago #

    That is depend on TinyMCE (wordpress internal text editor) plugins. You can install "Advanced WYSIWYG Editor" http://www.labnotes.org and modify the code.

    function extended_editor_mce_buttons_2($buttons) {
        // Add buttons on the second toolbar line
    return array("separator",
            "cut", "copy", "paste", "pasteword", "undo", "redo", "separator",
            "table", "sub", "sup", "forecolor", "backcolor", "charmap", "separator",
            "spellchecker", "code", "fullscreen", "separator", "wp_more", "wp_help" );
    }

    The key is "pasteword".
    If you wanted to paste MS Word table, you must install TinyMCE table plugin. If not, the table will truncated.
    Sorry, bad english.

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    The normal Visual Editor in WordPress has a hidden trick to it.

    Press alt-shift-v (Firefox) or alt-v (IE) to turn on the hidden menu bar. There's a button on this bar called "Paste from Word" that will handle Word text correctly.

    If you don't have the visual editor enabled, go to Users->Your Profile and turn on the "Use Rich Text Editor" option.

Topic Closed

This topic has been closed to new replies.

About this Topic