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
#7429)

This reverts commit 18ee0ec.

(cherry picked from commit 9db853d)
  • Loading branch information
rachel-fenichel committed Aug 24, 2023
1 parent 36dfc34 commit 316571a
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 316571a

Please sign in to comment.