You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe it would be a fairly simple feature and immensely helpful to be able to apply a "keep together" rule to elements to ensure that they are never spread between pages.
Here's an example of the issue I'm referring to:
And here's the desired outcome (div is kept to together and pushed to the next page):
I believe this should be as simple as applying the css rule page-break-inside: avoid; (for wkhtmltopdf) or break-inside: avoid; (for a more modern renderer) to the object in question. The easiest way to improve our print formats would be to automatically apply this rule to the rectangle elements, but the more sophisticated way would be to add a toggle for a "Keep Together" attribute on individual elements.
The text was updated successfully, but these errors were encountered:
I believe it would be a fairly simple feature and immensely helpful to be able to apply a "keep together" rule to elements to ensure that they are never spread between pages.
Here's an example of the issue I'm referring to:
![image](https://private-user-images.githubusercontent.com/4996285/310972631-30998d05-0fe9-4391-a749-2649e913ce2a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5MjU0MDQsIm5iZiI6MTcxODkyNTEwNCwicGF0aCI6Ii80OTk2Mjg1LzMxMDk3MjYzMS0zMDk5OGQwNS0wZmU5LTQzOTEtYTc0OS0yNjQ5ZTkxM2NlMmEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjBUMjMxMTQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmJiMThmZGU1MzcxZWUyZGRiMTA0N2JmZjE3ZGI5NmMxZDkzY2JlZTg0NTllOTE2MDNkOTg4N2JlMDA0ZjJmOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.w7C8bvwIhoYn86cvQEuDmez5iTsgotVyScs_C4oMWL0)
And here's the desired outcome (div is kept to together and pushed to the next page):
![image](https://private-user-images.githubusercontent.com/4996285/311020251-4a336e2d-150c-4115-af5d-892540871e98.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5MjU0MDQsIm5iZiI6MTcxODkyNTEwNCwicGF0aCI6Ii80OTk2Mjg1LzMxMTAyMDI1MS00YTMzNmUyZC0xNTBjLTQxMTUtYWY1ZC04OTI1NDA4NzFlOTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjBUMjMxMTQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjliOTNiZThlZWYwYmJjNzZiOTJkZjZkYzg3OTE0MTY3N2EyMGI4NDg2ZjllOGVmZGQ5MmM5ZDcyN2RhY2I4MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.G5zGuO79J9AHhvFtPzbZeWD0DuHJ7BwVsXMghjKltf4)
I believe this should be as simple as applying the css rule
page-break-inside: avoid;
(for wkhtmltopdf) orbreak-inside: avoid;
(for a more modern renderer) to the object in question. The easiest way to improve our print formats would be to automatically apply this rule to the rectangle elements, but the more sophisticated way would be to add a toggle for a "Keep Together" attribute on individual elements.The text was updated successfully, but these errors were encountered: