follow from content-input
This commit is contained in:
parent
6f9b217df8
commit
e2aae9cff2
3 changed files with 9 additions and 9 deletions
|
@ -49,6 +49,9 @@ export default class ContentInputComponent {
|
|||
let stop = false;
|
||||
for (let listener of this.onKeyListeners) {
|
||||
stop = stop || listener(e.key, e.ctrlKey);
|
||||
if (stop) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (stop) {
|
||||
e.preventDefault();
|
||||
|
|
Reference in a new issue