WordPress.org

Support

Support » How-To and Troubleshooting » Pasting into the WYSISWYG editor pastes twice, once unformatted

Pasting into the WYSISWYG editor pastes twice, once unformatted

  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is happening to me right now! Did you manage to find a solution?

    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.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pasting into the WYSISWYG editor pastes twice, once unformatted’ is closed to new replies.