mirror of
https://github.com/google/blockly.git
synced 2026-01-05 08:00:09 +01:00
Stop storing IDs on every block in our datastore.
This commit is contained in:
@@ -70,7 +70,7 @@ BlocklyStorage.restoreBlocks = function(opt_workspace) {
|
||||
*/
|
||||
BlocklyStorage.link = function(opt_workspace) {
|
||||
var workspace = opt_workspace || Blockly.getMainWorkspace();
|
||||
var xml = Blockly.Xml.workspaceToDom(workspace);
|
||||
var xml = Blockly.Xml.workspaceToDom(workspace, true);
|
||||
var data = Blockly.Xml.domToText(xml);
|
||||
BlocklyStorage.makeRequest_('/storage', 'xml', data, workspace);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user