letter icon indicating copy to clipboard operation
letter copied to clipboard

Output does not show a page break

Open dsentker opened this issue 7 years ago • 6 comments

The HTML output does not show a page break. It should be possible to display a new sheet with the correct page break to make corrections if necessary. In addition, the content runs into the footer. screencapture-bastianallgeier-projects-letter-1484653305440

dsentker avatar Jan 17 '17 12:01 dsentker

So far it's really just a single-page tool. It would be nice to add the option for multiple pages, but with the footer and header it seems that this would be quite challenging. I'm happy for any help.

bastianallgeier avatar Jan 18 '17 07:01 bastianallgeier

About the page jump challenge, maybe it could be possible to handle it using the css-regions polyfill available here : https://github.com/FremyCompany/css-regions-polyfill.

SamuelRiversMoore avatar Jan 18 '17 08:01 SamuelRiversMoore

@SamuelRiversMoore sounds good. Unfortunately the link is broken.

bastianallgeier avatar Jan 18 '17 08:01 bastianallgeier

link fixed

SamuelRiversMoore avatar Jan 18 '17 08:01 SamuelRiversMoore

Multi-page support would be awesome and would make the possibilities for this tool endless :)

christianseel avatar Feb 10 '17 14:02 christianseel

louis-ev/Papeterie plugin for Kirby CMS is a similar tool and it supports page breaks in an easy way.

The plugins uses a delimiter (=== by default), the content between each delimiter is inserted into a div.one-page. For @media print these pages are divided with:

.page-break {
    display: block;
    page-break-before: always;
}

mciszczon avatar Mar 29 '17 13:03 mciszczon