Page MenuHomePhabricator

VisualEditor: Insert external pasted content as "unformatted" if Ctrl+/Cmd+Shift+V rather than Ctrl+/Cmd+V trigger
Closed, ResolvedPublic

Description

Right now external paste always writes the clipboard as formatted; in some cases, users will want to "Paste Unformatted".

On Mac, there's a standard shortcut for this of Cmd+Shift+V - I'm assuming that Ctrl+Shift+V would be sensible as well.

Would we also need a button? What about for the other standard 3 (Cut/Copy/Paste)?


Version: unspecified
Severity: enhancement

Details

Reference
bz53781

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:52 AM
bzimport set Reference to bz53781.

ctrl+shift+v in Open Office is "paste special", which gives lots of non-default options so it doesn't seem out of line. Not sure a separate button is needed but if button=shortcut then shift+button should = shift+shortcut

In general I think its best to cut/copy richly to the clipboard and let the target deal with the formatting. I don't know whether this view is common or uncommon though,

(In reply to comment #1)

ctrl+shift+v in Open Office is "paste special", which gives lots of
non-default
options so it doesn't seem out of line. Not sure a separate button is needed
but if button=shortcut then shift+button should = shift+shortcut

We don't need a button to have a shortcut (but we do for users without a keyboard, or with a limited keyboard that can't do shortcuts, like tablet users).

In general I think its best to cut/copy richly to the clipboard and let the
target deal with the formatting. I don't know whether this view is common or
uncommon though,

I agree personally, but people have asked for it a few times and it's a not-hard change for us to make when pasting from the clipboard.

Change 88224 had a related patch set uploaded by Esanders:
Plain text paste with paste special

https://gerrit.wikimedia.org/r/88224

Change 88224 merged by jenkins-bot:
Plain text paste with paste special

https://gerrit.wikimedia.org/r/88224