react-pdf
react-pdf copied to clipboard
Add IDs to span elements created by TextLayerItem component
- Adding an ID to the pdf's spans. Something to grab onto for annotation purposes.
Boogers. I could add a document-level unique id that passes down into TextLayerItem and I can throw the page number in as well. That should take care of it
I think data attributes are the best approach :)