[wp-testers] Paste as Plain Text?

Daniel Schoonover daniel at dangarion.com
Thu Mar 27 22:15:33 GMT 2008


That's weird I don't get a "Paste as Plain text" popup on my 2.3.3 site, but
I do on my 2.5 RC2 site.  But the first point makes sense.  I didn't know
that it was that screwed up from browser to browser.  But can't it be made
that when the popup for "Paste as Plain Text" comes up it automatically
inserts the text instead of making the user have to Ctrl-V a second time?
Or is that not possible due to the cleanup?

Now on to the second part.
I'm using Firefox 2.0.13 within Windows XP SP2 at work
I'm using Firefox 2.0.12 within Windows Vista SP1 at home

I am able to replicate the issue on both computers in Firefox.
If I do this in Internet Explorer 7.x I don't get the "Paste as Plain Text"
popup and I have no issues with editing the text afterwards.
Safari 3.0.4 also does not give me "Paste as Plain Text" popup and I have no
issues with editing the text afterwards.
Now as for Opera 9.26, when I paste it throws the text in the visual editor
AND I get the "Paste as Plain Text" popup, if I paste text in the popup then
I have double text of everything I was pasting.  I can however delete and
edit the text.
As for Firefox 3 Beta 3, the same thing happens as it did in Firefox
2.0.12and .13

And for the third part, I guess the cancel button would just cancel any
cancels you have made to the current post you are looking like and take you
back to the dashboard (or the previous page), so if you were in the middle
of writing a new post it would just throw away what you were writing.  If
you were in the middle of editing a post, it wouldn't save your changes,
etc.

Cheers!
Daniel


> ------------------------------
>
> Message: 6
> Date: Thu, 27 Mar 2008 13:20:01 -0800
> From: Andrew Ozz <admin at laptoptips.ca>
> Subject: Re: [wp-testers] Paste as Plain Text?
> To: wp-testers at lists.automattic.com
> Message-ID: <47EC0F81.5050207 at laptoptips.ca>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Daniel Schoonover wrote:
> > So let me get this straight.  The way it was working before RC2 (the
> same
> > way it worked in 2.3.3 was wrong?  That way seemed to work better, I
> would
> > usually get the format to carry over to my pasting in my blog.  Now I
> have
> > to reformat things whenever I paste into the visual editor.  It makes no
> > sense we you would make a user have to do a command twice to input text.
>
> Not exactly. In 2.3.3 when pressing Ctrl+V the "Paste as plain text"
> popup opens too. Basically there are 4 different ways of pasting: using
> the "Paste as plain text" popup, using the "Paste from Word" popup,
> right-click -> paste (unfiltered), and pasting in "HTML" mode.
>
> The main problem is that most browsers don't support the onPaste event,
> so cleanup cannot be performed automatically. This cleanup is essential
> as different browsers handle the clipboard differently and insert
> different elements when copying html.
>
> For example Safari inserts the styles from the stylesheet(s) attached to
> the page you're copying from as inline css and adds extra spans and
> sometimes divs. This usually results in 2-3 lines of inline css for each
> element and there may be hundreds of elements in the clipboard. Also it
> breaks the display with most WordPress themes. TinyMCE tries to correct
> this by removing any inline css when using Safari.
>
> If you are knowledgeable about html and css, you probably can go to
> "HTML" mode and fix it, but it's bigger hassle and most users cannot do
> it anyway.
>
> > Also I am experiencing some type of issue where once I did do the plain
> text
> > paste and then hit "Insert" the text that is show in my visual editor
> would
> > basically be locked, ie.  I could delete any of it.  I could change
> formate
> > (bold,underline,etc) but no editing of the words themselves.
>
> I can't reproduce this. Which browser/os are you using?
>
> > Lastly when you are typing a post, there is no Cancel button, there is
> > Preview, Save, and Publish, but no link for Cancel (people sometimes
> change
> > their mind).  The novice user may get frustrated that there is no button
> for
> > it but there is for all the other options.  You and I may know we can
> just
> > leave the page and will get prompted with a Info box, but once again
> this
> > seems to be counter productive of just having a Cancel button (I realize
> > 2.3.3 didn't have cancel either, just always seemed weird, so I decided
> to
> > mention it now).
>
> What would the Cancel button do? Remove all content from the editor?
> Unpublish the post if published or perhaps delete it altogether? Also
> there's the "Manage Posts" page for that.
>
>
>
> ------------------------------
>


-- 
"Pain heals. Chicks dig scars. Glory... lasts forever..."
Daniel Schoonover
http://www.dangarion.com
AIM : DanGarion


More information about the wp-testers mailing list