fix: dont save ids when copying blocks and comments (#9255)

This commit is contained in:
Maribeth Moffatt
2025-07-28 17:35:55 -04:00
committed by GitHub
parent c9a8221a2d
commit c661dd1c94
2 changed files with 2 additions and 0 deletions

View File

@@ -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),
};

View File

@@ -280,6 +280,7 @@ export class RenderedWorkspaceComment
paster: WorkspaceCommentPaster.TYPE,
commentState: commentSerialization.save(this, {
addCoordinates: true,
saveIds: false,
}),
};
}