Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanWay committed Feb 18, 2025
1 parent 3c571de commit 0292e1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/quill/src/blots/break.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ class Break extends EmbedBlot {
: this.prev;
const prevLeafIsSoftBreak =
prevLeaf != null && prevLeaf.statics.blotName == SoftBreak.blotName;
const shouldRender = thisIsOnlyBlotInParent || (thisIsLastBlotInParent && prevLeafIsSoftBreak);
const shouldRender =
thisIsOnlyBlotInParent || (thisIsLastBlotInParent && prevLeafIsSoftBreak);
if (!shouldRender) {
this.remove();
}
Expand Down

0 comments on commit 0292e1b

Please sign in to comment.