Skip to content

Commit e95b85f

Browse files
committed
Add CSS rule to hide page-break elements in paged mode
1 parent eb3c183 commit e95b85f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/lexical-playground/src/themes/PlaygroundEditorTheme.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,9 @@
724724
var(--page-height) - var(--page-margin-top) - var(--page-margin-bottom)
725725
);
726726
}
727+
.PlaygroundEditorTheme__page + [type='page-break'] {
728+
display: none;
729+
}
727730
}
728731
@page {
729732
size: var(--page-width) var(--page-height);

0 commit comments

Comments
 (0)