Skip to content

Commit

Permalink
Merge pull request #15144 from calixteman/editing_delete
Browse files Browse the repository at this point in the history
[Editor] Allow editors deletion on Backspace or Delete keys
  • Loading branch information
calixteman authored Jul 7, 2022
2 parents 7f160d4 + a4329d3 commit 403ed07
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/display/editor/annotation_editor_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
Expand Down

0 comments on commit 403ed07

Please sign in to comment.