Allow shadow blocks to be edited.

This commit is contained in:
Neil Fraser
2016-02-26 00:22:31 -08:00
parent ea6d875c34
commit b567d6b0d7
12 changed files with 49 additions and 68 deletions

View File

@@ -188,7 +188,6 @@ Blockly.FieldTextInput.prototype.onHtmlInputChange_ = function(e) {
// Update source block.
var text = htmlInput.value;
if (text !== htmlInput.oldValue_) {
this.sourceBlock_.setShadow(false);
htmlInput.oldValue_ = text;
this.setValue(text);
this.validate_();