Key shortcuts in source editor work as expected, but only with "Alt" key. Support...
[redakcja.git] / platforma / static / js / wiki / main.js
index ef127e3..9693ce2 100644 (file)
@@ -25,6 +25,10 @@ $(function()
                        doc: CurrentDocument
                });
                
+               $(document).keydown(function(event) {
+                       console.log("Received key:", event);
+               });
+               
                /* The save button */
         $('#save-button').click(function(event){
             event.preventDefault();