The Dangers of ‘pasting’ Text into the WordPress Visual Editor

Pasting content into the WordPress Visual Editor has potential invisible dangers!

When you paste content into the editor, you often bring ‘loads’ of invisible formatting with you, and this can have consequences that you don’t want to show on your post or page when viewed by the public, such as strange fonts, text sizes and other formatting.

In these cases just remember, the “Paste as Plain Text” toolbar icon  is your best friend.


For those who’d like to know more…

When you want to paste content into your post or page, click the “Paste as Plain Text” icon, and when the popup appears, paste your text into the text box, then click Insert. This will remove all of the formatting, leaving just the text.
It does mean that you will have to re-apply any formatting that you wanted, but it will most likely turn out for the best in the long run.

If you’re taking content from another website, or from Word or some other type of document, you will usually be ‘copying’ all of the formatting that goes along with the text, and when you paste that directly into the editor, all of that formatting goes in to, but a lot of it may not show up much in the editor, but often will when you are looking at the post or page in the public view.

(Refer to:  Changing text Formatting in the WordPress Visual Editor)

The other issue, and it is probably the biggest pain, is that this pasted formatting will often prevent you from being able to change the formatting of some of this text.

, ,

4 Responses to The Dangers of ‘pasting’ Text into the WordPress Visual Editor

  1. Jenni January 10, 2012 at 8:50 am #

    I type up my blog post in to notepad or in mac text edit, makes it so much easier to type it up and then cut and paste into the new post editor and then add formatting and pictures.

  2. wayne January 10, 2012 at 9:06 am #

    Thanks Jennie,
    that’s another really good way to do it.
    For those that prefer Word, or have a need to ‘take’ content from another website could still use your method to achieve the same end, but knowing that WordPress also has a way can sometimes shorten the steps required.
    Cheers, Wayne

  3. Sue Murphy January 15, 2012 at 1:47 am #

    Thanks Wayne
    I so glad youre blogging great WordPress tips. You know how much I need this!!!
    Great stuff.

    • wayne January 15, 2012 at 2:50 pm #

      My pleasure Sue, it’s actually very rewarding knowing you’re helping someone’s day to be a little easier with a simple tip.

Leave a Reply