diff --git a/src/editor/core/draw/Draw.ts b/src/editor/core/draw/Draw.ts index 04584ab..17a534c 100644 --- a/src/editor/core/draw/Draw.ts +++ b/src/editor/core/draw/Draw.ts @@ -111,7 +111,7 @@ export class Draw { if (curRow.width + width > rightTopPoint[0] - leftTopPoint[0] || (i !== 0 && element.value === ZERO)) { rowList.push({ width, - height: 0, + height: this.options.defaultSize, elementList: [lineText], ascent: fontBoundingBoxAscent })