Skip to content

Commit c661dd1

Browse files
authored
fix: dont save ids when copying blocks and comments (#9255)
1 parent c9a8221 commit c661dd1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

core/block_svg.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,7 @@ export class BlockSvg
962962
blockState: blocks.save(this, {
963963
addCoordinates: true,
964964
addNextBlocks: false,
965+
saveIds: false,
965966
}) as blocks.State,
966967
typeCounts: common.getBlockTypeCounts(this, true),
967968
};

core/comments/rendered_workspace_comment.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ export class RenderedWorkspaceComment
280280
paster: WorkspaceCommentPaster.TYPE,
281281
commentState: commentSerialization.save(this, {
282282
addCoordinates: true,
283+
saveIds: false,
283284
}),
284285
};
285286
}

0 commit comments

Comments
 (0)