mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
This reverts commit 18ee0ec41b.
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user