PejmanNik/puppeteer-report

Clickable links in footers/headers in PDF

rubenstolk opened this issue · 7 comments

simple <a href="...">s are not clickable...

It is because of pdf-lib limitation Hopding/pdf-lib#341

Please feel free to reopen if there is a workaround for this issue. Also this issue will be resolved in the next react-report project as it is not dependent on the pdf-lib #12

Hi I dont think this is the same as the issue with pdf-lib as they are talking about links to the actual PDF content not working, this issue is about any standard external web link not working when in headers or footers?

Hey @PejmanNik , if you can guide me with a solution on how to have clickable links in header/footer. I will be happy to contribute on this. Looking forward for your reply.

Hmm, now I think @leandrowade is right, @sagarpreet-xflowpay I don't have any idea what the actual problem is, somehow in the merging process the link will get lost. You can start the investigation by manually merging two PDF file that has a link with pdf-lib and check the result

Hi @PejmanNik , can you please provide solution for clickable in Footer section for ... tags. as clickable is not working.

Hi, I spent a few hours on this, and now I'm sure this is a bug/limitation in the pdf-lib, unfortunately, the pdf-lib is not maintained anymore, and fixing this needs way more time, I can not promise any eta on this

I would suggest using https://github.com/PejmanNik/jikji