hashHandler may return empty command
This commit is contained in:
parent
c8906d4123
commit
52ea224893
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ var KeyBinding = function(editor) {
|
|||
var toExecute = this.$handlers[i].handleKeyboard(
|
||||
this.$data, hashId, keyString, keyCode, e
|
||||
);
|
||||
if (toExecute)
|
||||
if (toExecute && toExecute.command)
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue