WordPress.org

Ready to get started?Download WordPress

Forums

Paste plain text with 2.8 (7 posts)

  1. d-phrag
    Member
    Posted 5 years ago #

    What's wrong with 2.8 about pasting absolutely PLAIN text via clipboard? Whatever text I paste in Visual mode, it gets invisible and styled like this:

    <div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">

    HIGHLY ANNOYNG, I must say. Anyway, anyone has a cure for this?

    Thank you

  2. d-phrag
    Member
    Posted 5 years ago #

    okay...seems that this problem actually occurs with Google Chrome...so I have to use Firefox to paste text...unless this is resolved in the future.

  3. byandreasdotcom
    Member
    Posted 5 years ago #

    I use Safari and get the same thing...

  4. Ryan S
    Member
    Posted 5 years ago #

    I don't think this is the issue. From where you copy and paste the code? Use notepad or some Good Plane text editor.

  5. cbird1057
    Member
    Posted 5 years ago #

    I ended up with the same div id=_mcePaste stuff when I upgraded to WordPress 2.8.

    I have to use the "Paste as Plain Text" button in the tinyMCE editor to get rid of the problem.

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    And where did you copy this content from?

  7. smartdub
    Member
    Posted 5 years ago #

    Just confirming you that the div id="_mcePaste" is a polution generated when using Webkit browsers (Google Chrome/Safari) to paste (clean) text within the Tiny MCE module.

    Even if I cleaned my copied text (using Notepad) before, I still get the #_mcePaste in my plublished markup.
    As mentionned by cbird1057, the only fix I know for now is to use the Paste as Plain Text little button.

    Now does anybody know of a plugin that would force the Tiny MCE module to be set-up by default to treat any pasted text as plain text?

Topic Closed

This topic has been closed to new replies.

About this Topic