Skip to content

Commit

Permalink
Revert "fix: insertion marker's next blocks become real block (#7384)"
Browse files Browse the repository at this point in the history
This reverts commit 18ee0ec.
  • Loading branch information
rachel-fenichel authored Aug 24, 2023
1 parent 7e3472c commit ac1e95b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core/insertion_marker_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}
Expand Down

0 comments on commit ac1e95b

Please sign in to comment.