mirror of
https://github.com/google/blockly.git
synced 2026-03-11 15:50:10 +01:00
@@ -225,7 +225,12 @@ export class InsertionMarkerManager {
|
||||
eventUtils.disable();
|
||||
let result: BlockSvg;
|
||||
try {
|
||||
const blockJson = blocks.save(sourceBlock);
|
||||
const blockJson = blocks.save(sourceBlock, {
|
||||
addCoordinates: false,
|
||||
addInputBlocks: false,
|
||||
addNextBlocks: false,
|
||||
doFullSerialization: false,
|
||||
});
|
||||
if (!blockJson) {
|
||||
throw new Error('Failed to serialize source block.');
|
||||
}
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "blockly",
|
||||
"version": "10.1.1",
|
||||
"version": "10.1.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "blockly",
|
||||
"version": "10.1.1",
|
||||
"version": "10.1.2",
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "blockly",
|
||||
"version": "10.1.1",
|
||||
"version": "10.1.2",
|
||||
"description": "Blockly is a library for building visual programming editors.",
|
||||
"keywords": [
|
||||
"blockly"
|
||||
|
||||
Reference in New Issue
Block a user