Revert "fix: insertion marker's next blocks become real block (#7384)" (#7429)

This reverts commit 18ee0ec41b.

(cherry picked from commit 9db853db76)
This commit is contained in:
Rachel Fenichel
2023-08-24 10:41:17 -07:00
parent 36dfc34e3d
commit 316571a524

View File

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