Support content editable (issue 113).

This commit is contained in:
Neil Fraser
2015-06-22 15:42:25 -07:00
parent 917aa3411d
commit 1be9437544

View File

@@ -241,7 +241,8 @@ Blockly.isTargetInput_ = function(e) {
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';
e.target.type == 'tel' || e.target.type == 'url' ||
e.target.isContentEditable;
};
/**