We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fdfe47 commit 8da7d17Copy full SHA for 8da7d17
core/block_svg.ts
@@ -269,7 +269,7 @@ export class BlockSvg
269
const firstSibling: BlockSvg = surroundParent.getChildren(false)[0];
270
const siblings: BlockSvg[] = [firstSibling];
271
let nextSibling: BlockSvg | null = firstSibling;
272
- while ((nextSibling = nextSibling.getNextBlock())) {
+ while ((nextSibling = nextSibling?.getNextBlock())) {
273
siblings.push(nextSibling);
274
}
275
return siblings;
0 commit comments