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

Clickable links in footers/headers in PDF #33

Open
rubenstolk opened this issue Sep 23, 2021 · 7 comments
Open

Clickable links in footers/headers in PDF #33

rubenstolk opened this issue Sep 23, 2021 · 7 comments

Comments

@rubenstolk
Copy link

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

@PejmanNik
Copy link
Owner

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

@PejmanNik
Copy link
Owner

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

@leandrowade
Copy link

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?

@sagarpreet-xflowpay
Copy link

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.

@PejmanNik
Copy link
Owner

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

@PejmanNik PejmanNik reopened this Sep 9, 2023
@karim732
Copy link

karim732 commented Jun 14, 2024

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

@PejmanNik
Copy link
Owner

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

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

5 participants