Skip to content

Commit

Permalink
feat: Add CSS to support Page break when printing
Browse files Browse the repository at this point in the history
  • Loading branch information
areknawo committed Jan 15, 2025
1 parent c40c773 commit 1b73fac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/src/editor/Block.css
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,12 @@ NESTED BLOCKS
background-repeat: repeat-x;
}

@media print {
.bn-block-content[data-content-type="pageBreak"] > div {
page-break-after: always;
}
}

/* FILES */

/* Element that wraps content for all file blocks */
Expand Down

0 comments on commit 1b73fac

Please sign in to comment.