Permalink
Browse files

Merge pull request #5 from opendining/master

Added generic keyDown event
  • Loading branch information...
2 parents 3db298c + 39ae4c1 commit 3b24f94a1be9198e56f3fd95b746a2145c8ce775 Danish Khan committed Apr 26, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 nicEdit.js
View
@@ -523,6 +523,8 @@ var nicEditorInstance = bkClass.extend({
},
keyDown : function(e,t) {
+ this.ne.fireEvent('keyDown',this,e);
+
if(e.ctrlKey) {
this.ne.fireEvent('key',this,e);
}

0 comments on commit 3b24f94

Please sign in to comment.