WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to: Force paste-as-text? (6 posts)

  1. Driftless
    Member
    Posted 4 years ago #

    Greetings,

    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?

    Thanks!

  2. ClaytonJames
    Member
    Posted 4 years ago #

    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?

  3. Driftless
    Member
    Posted 4 years ago #

    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?

  4. Driftless
    Member
    Posted 4 years ago #

    The new tinyMCE is version 3.2.3.1 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.

  5. ClaytonJames
    Member
    Posted 4 years ago #

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

  6. Driftless
    Member
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic