WordPress.org

Ready to get started?Download WordPress

Forums

Pasting into the WYSISWYG editor pastes twice, once unformatted (4 posts)

  1. pcoan
    Member
    Posted 3 years ago #

    Has anyone else experienced this behavior where pasting a block of text produces duplicate text, but unformatted? When I paste from the clipboard, after copying text from notepad, or an HTML page, the text is pasted into the editor twice. The second instance is a block of text with no spacing, or line returns.

  2. jaysun_walter
    Member
    Posted 3 years ago #

    This is happening to me right now! Did you manage to find a solution?

  3. pcoan
    Member
    Posted 3 years ago #

    The solution... yeah, I don't think that there is a real solution. Everyone keeps saying that the best way is to type the content in the WP editor- I don't understand why the online community hasn't found a way to unify word processor formatting.

  4. ifoman
    Member
    Posted 3 years ago #

    Yes, I've had the same problem, and have a sort-of solution. I frequently write original stories with TextWrangler, and then transfer them to the WordPress editor. After much experimentation, here's my technique to copy plain text to the WordPress post editor: copy the text from TextWrangler to the clipboard, go to WordPress and click Add New Page, switch to HTML mode in the WordPress editor, paste the text into the editor window, and immediately click the Save Draft button. I repeat, immediately. Once the text is saved, you can switch back to Visual mode and begin doing a final edit on the text. If you paste the text while in Visual mode, or paste while in HTML mode, switch to Visual mode and then save, your text will end up with all sorts of formatting code and duplicate text. The trick is to paste into HTML, then save.

Topic Closed

This topic has been closed to new replies.

About this Topic