Show warning banner above PDF if there is no selectable text
- Add `documentHasText` helper in `anchoring/pdf.js` which checks if the document appears to have selectable text - Add logic in `plugin/pdf.js` which uses the `documentHasText` helper to check whether the PDF has selectable text and display a banner above the PDF viewer if not Fixes https://github.com/hypothesis/product-backlog/issues/1081
Showing
Please register or sign in to comment