mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
De-shadow blocks that have been edited.
This commit is contained in:
@@ -195,6 +195,7 @@ 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.setText(text);
|
||||
this.validate_();
|
||||
|
||||
Reference in New Issue
Block a user