From ac1e95b4dbadf3af4ed29cf1720031356102708b Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Thu, 24 Aug 2023 10:34:12 -0700 Subject: [PATCH] Revert "fix: insertion marker's next blocks become real block (#7384)" 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 effe7821902..35e46dc019a 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.'); }