feat: ESC cancel the keymap description editing (#1007)

This commit is contained in:
Róbert Kiss
2019-07-31 10:03:29 +02:00
committed by László Monda
parent 4d2d6d40fb
commit 5ab5ad5f0c

View File

@@ -15,6 +15,7 @@
<textarea class="text-editor"
[(ngModel)]="text"
autofocus
(keydown.escape)="cancelEditText()"
(keydown.control.enter)="keydownEnter()"
(keydown.alt.enter)="keydownEnter()"></textarea>
<div class="pull-right buttons">