mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-08 13:46:10 +02:00
change to alt shit and a to show authors
This commit is contained in:
parent
fef746e80e
commit
85fc012bac
@ -3616,6 +3616,7 @@ function Ace2Inner(){
|
||||
var keyCode = evt.keyCode;
|
||||
var which = evt.which;
|
||||
var altKey = evt.altKey;
|
||||
var shiftKey = evt.shiftKey;
|
||||
|
||||
// prevent ESC key
|
||||
if (keyCode == 27)
|
||||
@ -3703,8 +3704,8 @@ function Ace2Inner(){
|
||||
parent.parent.chat.focus();
|
||||
evt.preventDefault();
|
||||
}
|
||||
if ((!specialHandled) && altKey && keyCode == 65 && type === "keydown"){
|
||||
// Alt A shows a gritter popup showing a line author
|
||||
if ((!specialHandled) && altKey && shiftKey && keyCode == 65 && type === "keydown"){
|
||||
// Alt-Shift-A shows a gritter popup showing a line author
|
||||
var lineNumber = rep.selEnd[0];
|
||||
var alineAttrs = rep.alines[lineNumber];
|
||||
var apool = rep.apool;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user