diff --git a/core/blockly.js b/core/blockly.js index 1fec5727f..858588952 100644 --- a/core/blockly.js +++ b/core/blockly.js @@ -551,7 +551,10 @@ Blockly.removeAllRanges = function() { * @private */ Blockly.isTargetInput_ = function(e) { - return e.target.type == 'textarea' || e.target.type == 'text'; + return e.target.type == 'textarea' || e.target.type == 'text' + || e.target.type == 'number' || e.target.type == 'email' + || e.target.type == 'password' || e.target.type == 'search' + || e.target.type == 'tel' || e.target.type == 'url'; }; /**