diff --git a/src/editor/core/draw/Draw.ts b/src/editor/core/draw/Draw.ts index fab0d11..8f3ce48 100644 --- a/src/editor/core/draw/Draw.ts +++ b/src/editor/core/draw/Draw.ts @@ -792,7 +792,7 @@ export class Draw { height, elementList: [rowElement], ascent, - rowFlex: rowElement.rowFlex, + rowFlex: elementList[i + 1]?.rowFlex, isPageBreak: element.type === ElementType.PAGE_BREAK }) } else {