FIX: Don't trigger browser keyboard events when d-editor intercepts
This commit is contained in:
parent
3939331dec
commit
d993f70ed3
|
@ -169,6 +169,7 @@ export default Ember.Component.extend({
|
|||
const button = shortcuts[sc];
|
||||
Mousetrap(this.$('.d-editor-input')[0]).bind(sc, () => {
|
||||
this.send(button.action, button);
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue