mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-05-13 13:54:05 +02:00
[Editor] Allow editors deletion on Backspace or Delete keys
This commit is contained in:
parent
7f160d49f9
commit
a4329d326c
@ -62,10 +62,16 @@ class AnnotationEditorLayer {
|
||||
],
|
||||
[
|
||||
[
|
||||
"Backspace",
|
||||
"alt+Backspace",
|
||||
"ctrl+Backspace",
|
||||
"shift+Backspace",
|
||||
"mac+Backspace",
|
||||
"mac+ctrl+Backspace",
|
||||
"mac+alt+Backspace",
|
||||
"mac+ctrl+Backspace",
|
||||
"Delete",
|
||||
"ctrl+Delete",
|
||||
"shift+Delete",
|
||||
],
|
||||
AnnotationEditorLayer.prototype.delete,
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user