1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

[Editor] Allow editors deletion on Backspace or Delete keys

This commit is contained in:
Calixte Denizet 2022-07-07 15:16:01 +02:00
parent 7f160d49f9
commit a4329d326c

View file

@ -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,
],