mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
fix: dont save ids when copying blocks and comments (#9255)
This commit is contained in:
@@ -962,6 +962,7 @@ export class BlockSvg
|
||||
blockState: blocks.save(this, {
|
||||
addCoordinates: true,
|
||||
addNextBlocks: false,
|
||||
saveIds: false,
|
||||
}) as blocks.State,
|
||||
typeCounts: common.getBlockTypeCounts(this, true),
|
||||
};
|
||||
|
||||
@@ -280,6 +280,7 @@ export class RenderedWorkspaceComment
|
||||
paster: WorkspaceCommentPaster.TYPE,
|
||||
commentState: commentSerialization.save(this, {
|
||||
addCoordinates: true,
|
||||
saveIds: false,
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user