Skip to content

Commit

Permalink
fix: disable line break drawing in print and clean mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ThunderYu authored May 13, 2024
1 parent 661a6c5 commit fc55e55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/editor/core/draw/Draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1891,6 +1891,8 @@ export class Draw {
// 换行符绘制
if (
isDrawLineBreak &&
!isPrintMode &&
this.mode !== EditorMode.CLEAN &&
!curRow.isWidthNotEnough &&
j === curRow.elementList.length - 1
) {
Expand Down

0 comments on commit fc55e55

Please sign in to comment.