the right quots is mission in blockToXML
the right quote is mission in blockToXML, and it will result in the following code execution errors
vm.on('workspaceUpdate', function (data) {
workspace.clear();
var dom = Blockly.Xml.textToDom(data.xml);
Blockly.Xml.domToWorkspace(dom, workspace);
});
This commit is contained in:
1 parent
a1c1e8f7ba
commit
e91865fc21
1 file changed
+1
-1
@@ -407,7 +407,7 @@ class Blocks {
|
||||
id="${block.id}"
|
||||
type="${block.opcode}"
|
||||
${block.topLevel ?
|
||||
`x="${block.x} y="${block.y}` :
|
||||
`x="${block.x}" y="${block.y}"` :
|
||||
''
|
||||
}
|
||||
>`;
|
||||
|
||||
Reference in new issue
Block a user