Support » Fixing WordPress » How to: Force paste-as-text?

  • Resolved Driftless



    I know we are not supposed to paste text from word – and thats fine, in an ideal world. However, the users I have installed wordpress for can’t quite get this straight. I have looked around, but found no satisfactory answer…

    Surely, there must be a way to FORCE tinyMCE to only paste stuff as TEXT. I mean, when I paste from word in the visual editor, you get the junk, but when I paste from word into the HTML editor, it only accepts the text… Sooo, tinyMCE is doing that already in the HTML editor, I just want it to do it in the visual editor as well…

    Does anyone have a satisfactory way of dealing with this? And my clients are not just pasting from word, they paste from webpages, they paste from everything you can think of…

    In short: How does one FORCE PASTE AS TEXT in wordpress’ visual editor?


Viewing 5 replies - 1 through 5 (of 5 total)
  • I have never used this feature myself, but aren’t there “paste from Word” and a “paste as plain text” buttons on the tool bar in the visual editor? Maybe they only show up with the “kitchen sink” feature turned on. Any luck with those?

    Yes, they exist – however, even that is a bit complicated for my clientele…

    HOWEVER! I just installed the latest version of tinyMCE (hot off the presses just hacked it into my WordPress install…) and it seems to automagically recognize Word crud, as well as other html crud when pasting from other places and gets rid of it! (So far – with only limited testing.)

    Anyone else tried this? Will the next package of WP come with the new tinyMCE?

    The new tinyMCE is version born on 5/05/09

    All I did was copy the new files into the wordpress wp-includes/js/tinymce/ directory, being careful not to erase the added WP files included there… so far seems to work.

    “Yes, they exist – however, even that is a bit complicated for my clientele…”

    Oh, man. I hate when that happens. 🙂

    Glad you found a work-around so quickly. Let’s hope it sticks.

    Everything seems golden in the latest WP release – I think they upgraded TinyMCE

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to: Force paste-as-text?’ is closed to new replies.