mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 410986 - Part 4: Switch the shortcut to Cmd+Option+Shift+V on Mac; r,a=bzbarsky
This commit is contained in:
parent
c7f0714a47
commit
ea8c48a6c9
@ -158,6 +158,8 @@
|
||||
<handler event="keypress" key="u" modifiers="control" command="cmd_deleteToBeginningOfLine"/>
|
||||
<handler event="keypress" key="w" modifiers="control" command="cmd_deleteWordBackward"/>
|
||||
<handler event="keypress" key="v" modifiers="control" command="cmd_scrollPageDown"/>
|
||||
|
||||
<handler event="keypress" key="v" command="cmd_pasteNoFormatting" modifiers="accel,alt,shift"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
|
@ -32,7 +32,11 @@ SimpleTest.waitForFocus(function() {
|
||||
function() {
|
||||
var ed = document.getElementById("editor");
|
||||
ed.focus();
|
||||
synthesizeKey("V", {accelKey: true, shiftKey: true});
|
||||
if (navigator.platform.indexOf("Mac") >= 0) {
|
||||
synthesizeKey("V", {accelKey: true, shiftKey: true, altKey: true});
|
||||
} else {
|
||||
synthesizeKey("V", {accelKey: true, shiftKey: true});
|
||||
}
|
||||
is(ed.innerHTML, "green text", "Content should be pasted in plaintext format");
|
||||
|
||||
ed.innerHTML = "";
|
||||
|
Loading…
Reference in New Issue
Block a user