Closed muhammadbasitobaid closed 1 month ago
The code in recipe https://github.com/wojtekmaj/react-pdf/wiki/Recipes#highlight-text-on-the-page only works if we try to search only a single row at a time! but the moment new line text is type the highlighting stops working: any help is highly appreciated.
Just fire up the script in give link and start searching when you reach the "newline text highlighting won't work.
Highlighting should work for multiple search as well.
only works for a single line.
No response
Before you start - checklist
Description
The code in recipe https://github.com/wojtekmaj/react-pdf/wiki/Recipes#highlight-text-on-the-page only works if we try to search only a single row at a time!
but the moment new line text is type the highlighting stops working:
any help is highly appreciated.
Steps to reproduce
Just fire up the script in give link and start searching when you reach the "newline text highlighting won't work.
Expected behavior
Highlighting should work for multiple search as well.
Actual behavior
only works for a single line.
Additional information
No response
Environment