Replies: 1 comment
-
Also this postMessage and probably the "navigate" and "zoom" no longer work:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Attach (recommended) or Link to PDF file
Using 4.10.38 downloaded yesterday.
usc01.indexed.pdf
Calling the embedded viewer and trying to have it initiate a find no longer seems to work, the example code I had waited on the 'webviewerloaded" event however no longer receive that. The only event that happens is the 'forward-log' event, so 15 seconds after it arrives I issue the "find". Pointers to fine manuals to read appreciated.
Code snippet:
Web browser and its version
Chrome Version 131.0.6778.205 (Official Build) (x86_64) on a Mac
Operating system and its version
MacOS 14.6.1 (23G93)
PDF.js version
4.10.38
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
The above code snippet with pdfjs in the path specified in an html file should show the problem.
What is the expected behavior?
I get a webviewerloaded event and that the text of the query are highlighted. If there is another way to have arbitrary text highlighted
What went wrong?
Viewer does not highlight the query text
Link to a viewer
https://61d6cc1c-7c99-402a-8ac7-978d69c8542e-00-294k8j7y3a8oa.riker.replit.dev/static/pdfjs/web/viewer.html
Additional context
I was looking for documentation on the events that can be posted to the viewer, if you have any pointers please.
Beta Was this translation helpful? Give feedback.
All reactions