Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctrl+enter dont work #176

Open
gongph opened this issue May 31, 2018 · 3 comments
Open

ctrl+enter dont work #176

gongph opened this issue May 31, 2018 · 3 comments

Comments

@gongph
Copy link

gongph commented May 31, 2018

Hi, @madrobby @okonet @agnoster @devongovett @jlukic ctrl+enter dont work, this is my code:

$('textarea').on('keydown', null, 'ctrl+enter', function (e) {
  // No coming, why?
})
@gongph
Copy link
Author

gongph commented May 31, 2018

Required:

@phun-ky
Copy link

phun-ky commented Sep 13, 2018

@gongph don't use jquery for keymaster events, just use this:

key('ctrl+enter', function(event, handler){
  console.log(handler.shortcut, handler.scope);
});

@gongph
Copy link
Author

gongph commented Sep 14, 2018

@phun-ky Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants