I am working on an application where I am using a third-party PDF viewer PDFtron
. I can select the text over the canvas, but once I inspect it, I can't see the text overlay. Only the annotations are there. You can check the demo here.
If I can select the text on this, but it's not actually 'HTML' then how it's rendered on the canvas.
Simply, I am looking for the HTML
overlay, which I can access through DOM APIs.
I am wondering if I can somehow enable it?