scryber.core
scryber.core copied to clipboard
support for css orphans and widows
Is your feature request related to a problem? Please describe. I tested css styles for proper page breaks. orphans and widows are important here. I could not get the styles to work on
and
Describe the solution you'd like orphans and widows should work like described here https://developer.mozilla.org/en-US/docs/Web/CSS/orphans https://developer.mozilla.org/en-US/docs/Web/CSS/widows
Describe alternatives you've considered For a good control over page breaks with css, I see no alternatives. Remaining single lines or just breaking one word to the next page needs to be avoided for well designed documents.
Hi Bernd
I understand the problem with orphans and widows, thank you. As a work around the css break-inside: avoid; works, set on a parent, so the layout is kept together. I know this is sometimes not possible with very long passages, and causes me visual pain too.
I will add it to the list.