Fixes an issue with blocks copy/pasting using keyboard
As a part of commit blocks copy/pasting using keyboard was removed. This commit strikes to fix issue Also, I added a few spaces for better naming...
Fixes
@@ -141,6 +141,7 @@ Blockly.TypeBlock.prototype.handleKey = function(e){
// Don't steal input from Blockly fields.
if (e.target != this.ac_.getTarget() &&
(e.target.tagName == 'INPUT' || e.target.tagName == 'TEXTAREA')) return;
+ if (e.altKey || e.ctrlKey || e.metaKey || e.keyCode === 9) return; // 9 is tab
//We need to duplicate delete handling here from blockly.js
if (e.keyCode === 8 || e.keyCode === 46) {
// Delete or backspace.
