Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to export PDF with custom css and (foreign) images #43

Closed
nirav5884 opened this issue Dec 9, 2019 · 1 comment
Closed

How to export PDF with custom css and (foreign) images #43

nirav5884 opened this issue Dec 9, 2019 · 1 comment

Comments

@nirav5884
Copy link

nirav5884 commented Dec 9, 2019

I have html tags with custom css, multiple images (src URLs) and videos inside my DIV.
I want to export all in single PDF (with multiple pages).
What all things possible here and how to do?
I am trying to export large div but it doesn't export the complete and only exports what is displaying on screen.
And all my images are missing from exported PDF.

@nirav5884 nirav5884 changed the title How to export PDF with custom css, inline styles and images/videos How to export PDF with custom css and images/videos Dec 9, 2019
@nirav5884 nirav5884 changed the title How to export PDF with custom css and images/videos How to export PDF with custom css and (foreign) images Dec 12, 2019
@wnabil
Copy link
Owner

wnabil commented Dec 21, 2019

This library doesn't support the advanced methods by default.
You might find a way to manage this using the pdf options from https://github.com/eKoopmans/html2pdf.js and if you were not able to do so then i suggest you to remove this package and use the pure html2pdf or pdf js library as it will be more flexible in customizing single format.

@wnabil wnabil closed this as completed Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants