From 9db853db764d60093a4e1305d7a82c1b06f1baf3 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Thu, 24 Aug 2023 10:41:17 -0700 Subject: [PATCH] Revert "fix: insertion marker's next blocks become real block (#7384)" (#7429) This reverts commit 18ee0ec41b2a326255f3270166e60b565f75b975. --- core/insertion_marker_manager.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/insertion_marker_manager.ts b/core/insertion_marker_manager.ts index effe78219..35e46dc01 100644 --- a/core/insertion_marker_manager.ts +++ b/core/insertion_marker_manager.ts @@ -225,12 +225,7 @@ export class InsertionMarkerManager { eventUtils.disable(); let result: BlockSvg; try { - const blockJson = blocks.save(sourceBlock, { - addCoordinates: false, - addInputBlocks: false, - addNextBlocks: false, - doFullSerialization: false, - }); + const blockJson = blocks.save(sourceBlock); if (!blockJson) { throw new Error('Failed to serialize source block.'); }