Closed
Bug 1331752
Opened 7 years ago
Closed 7 years ago
Support {Ctrl,Cmd}-Shift-v for pasting unformatted text
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1327798
People
(Reporter: cpeterson, Unassigned)
References
Details
STR: 1. In a Google Doc, copy some formatted text. 2. Press the Windows keyboard shortcut CTRL+SHIFT+V to paste the plain text without formatting back into the Google Doc. RESULT: The formatted rich text is pasted instead of plain text. CTRL+SHIFT+V in Google Docs works correctly in Chrome. In Edge, CTRL+SHIFT+V doesn't paste any text.
Comment 1•7 years ago
|
||
I didn't know about Ctrl-Shift-v! Michael, you (reluctantly) know about pasting; can you take a look here?
platform-rel: ? → +
Flags: needinfo?(michael)
Comment 2•7 years ago
|
||
(In reply to Andrew Overholt [:overholt] from comment #1) > I didn't know about Ctrl-Shift-v! Michael, you (reluctantly) know about > pasting; can you take a look here? As far as I know, we don't have an editor command for un-formatted pasting, which would explain why that keyboard shortcut doesn't do anything for us. It shouldn't be too difficult to add a command like that however, I would think.
Flags: needinfo?(michael)
Reporter | ||
Comment 3•7 years ago
|
||
CTRL+SHIFT+V on Windows and CMD+SHIFT+V on Mac are standard keyboard shortcuts for unformatted pasting of formatted text.
Comment 4•7 years ago
|
||
I suspect we want to move this to a different component but I'm not sure what's best.
Priority: -- → P3
Summary: CTRL+SHIFT+V pastes formatted text into Google Doc instead of plain text → Support {Ctrl,Cmd}-Shift-v for pasting unformatted text
Reporter | ||
Comment 6•7 years ago
|
||
Copying formatted HTML from a web page will be correctly pasted into a Google Doc without formatting by Ctrl+Shift+V. The problem only seems to affect rich editors, such as copying from Google Doc or the Mana Confluence editor into Google Doc.
Comment 7•7 years ago
|
||
We already implement this and it works fine in most cases for a simple test such as: data:text/html,<body contenteditable="true"><b>Bold</b> Test</body> Possibly something specific to Google docs? Does it try to override the shortcut and perform its own operation?
Comment 8•7 years ago
|
||
Mass wontfix for bugs affecting firefox 52.
Comment 9•7 years ago
|
||
When I test this today using the latest Nightly, I cannot reproduce this. I think that this is fixed by bug 1327798. If this isn't fixed by 54 or 55, please reopen this.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•