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

This reverts commit 18ee0ec41b.
This commit is contained in:
Rachel Fenichel
2023-08-24 10:41:17 -07:00
committed by GitHub
parent 7e3472c305
commit 9db853db76

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