laravel-dompdf icon indicating copy to clipboard operation
laravel-dompdf copied to clipboard

Need support for before / after page-break

Open gdc137 opened this issue 2 years ago • 1 comments

please can you add support for apply css after or before page break. you can create your own class names for it like;

  1. before-page-break (all element before pageBreak)
  2. first-before-page-break (first element before pageBreak)
  3. after-page-break (all elements after pageBreak)
  4. first-after-page-brek (first element after pageBreak)

css properties will apply to any tags. (can discuss in detail - contact.)

gdc137 avatar Aug 05 '23 06:08 gdc137

https://github.com/barryvdh/laravel-dompdf/blob/424a223ce80e7afc8bfb6e84449679efe272fbb5/.github/ISSUE_TEMPLATE/bug_report.md?plain=1#L10-L12

This is just a Dompdf wrapper! I understand that this package is just a Laravel wrapper for https://github.com/dompdf/dompdf Any issues with PDF rendering, CSS that is not applied correctly, aligning/fonts/characters/html etc that are not directly related to this package, should be reported there. When having doubts, please try to reproduce the issue with just dompdf. If it's also present there, do not open an issue here please.

parallels999 avatar Aug 07 '23 14:08 parallels999