feat(linklayer): improve link handling with pdf-lib integration and add link toolbar, add delete link functionality (#5715)

This commit is contained in:
Balázs Szücs
2026-02-13 12:16:13 +00:00
committed by GitHub
parent 71c845bcd8
commit b1d44d5661
4 changed files with 898 additions and 268 deletions
@@ -731,12 +731,13 @@ export function LocalEmbedPDF({ file, url, enableAnnotations = false, enableReda
/>
)}
{/* LinkLayer on top to handle link navigation - must be last for click priority */}
{/* LinkLayer uses pdf-lib for link extraction, rendered last for click priority */}
<LinkLayer
documentId={documentId}
pageIndex={pageIndex}
pageWidth={width}
pageHeight={height}
_pageWidth={width}
_pageHeight={height}
pdfUrl={pdfUrl}
/>
</div>
</PagePointerProvider>