Merge pull request #15144 from calixteman/editing_delete

[Editor] Allow editors deletion on Backspace or Delete keys
This commit is contained in:
calixteman 2022-07-07 15:37:06 +02:00 committed by GitHub
commit 403ed07ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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