Skip to content

The link to the title on another page does not work #1742

@mrhalless48GH

Description

@mrhalless48GH

What were you trying to do?

Hello, I would like to know how to replace a relative link with an internal one.
Is it possible to make the link redirect to another file to a specific title?
Within one page, everything works correctly.
But if the link is on another page, then nothing works.
I merged 2 pages, updated all the links so that they were clickable and it works.
Only the link that refers to another internal page in this common file does not work

I tried to change it through the puppeteer, and also through pfd-lib manually, so far without result

P.S. Is it possible to change the link and tell it to go to another page in that file to a specific heading?

How did you attempt to do it?

#867
#341
These pages helped me change the links and they work, only the internal link that should link to another does not work

What actually happened?

The link must be clickable and go to another page in this merged file, to a specific heading.

What did you expect to happen?

The link must be clickable and go to another page in this merged file, to a specific heading.

How can we reproduce the issue?

The link must be clickable and go to another page in this merged file, to a specific heading.

Version

latest

What environment are you running pdf-lib in?

Node

Checklist

  • My report includes a Short, Self Contained, Correct (Compilable) Example.
  • I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions