[wp-testers] Paste as Plain Text?
Andrew Ozz
admin at laptoptips.ca
Thu Mar 27 18:55:02 GMT 2008
Daniel Schoonover wrote:
> I'm trying to find out is the "Paste as Plain Text" popup screen you get
> when you attempt to past something into a post something that was
> implemented in RC2? Doesn't this seem a little redundant? If the only way
> I can paste in the visual interface is as Plain Text then why do I need a
> popup that requires me to do Ctrl-V twice to do a function that should only
> take once? I don't see the ability to not paste as plain text since even if
> I hit cancel and then do Ctrl-V again it just brings me back to the "Paste
> as Plain Text" box again.
>
> I don't think I installed a plugin that made this happen, it seems like a
> new function from RC2, because there was no "Paste as Plain Text" in RC1.
>
> Thanks for reading.
>
This is the standard behaviour of TinyMCE since version 2.x when the
"paste" plugin is installed. I think it was broken/disabled in earlier
3.0.x versions.
The problem is that when pasting from another web page or from Word, the
results can be unpredictable and depend on many factors: your browser,
the coding/layout of the page, whether it has non-standard html or bad
coding, etc.
Since FF2 and Opera don't support "onPaste" event and FF3 and Safari 3.1
support it only partially, that popup is shown so the pasted content can
be cleaned up before inserting in the post. In IE it is done automatically.
The "paste" plugin offers 2 modes: Plain text and Paste from Word, that
keeps some of the formatting. You can also try pasting in "HTML" mode.
Each will give slightly different results.
More information about the wp-testers
mailing list