diff --git a/core/events.js b/core/events.js index b117b4eda..4fa5a8f2b 100644 --- a/core/events.js +++ b/core/events.js @@ -597,6 +597,8 @@ Blockly.Events.Change.prototype.run = function(forward) { value = value || ''; var dom = Blockly.Xml.textToDom('' + value + ''); block.domToMutation(dom.firstChild); + block.initSvg(); + block.render(); } Blockly.Events.fire(new Blockly.Events.Change( block, 'mutation', null, oldMutation, value));