Not able to select the text inside the pdfviewer.
muralinit opened this issue · 5 comments
Hi akrennmair,
First of all thank you very much for writing this directive. This is really for so many people. Can you please add the text selection as well to this directive so that the pdfviewer will be more useful.
Thanks & Regards,
N.Murali Krishna.
making text to be selectable in pdf.js rendered documents involves including additional renderer text layer
page.getTextContent().then(function(textContent) {
var textLayer = new TextLayerBuilder(...
see example here: http://jsfiddle.net/vivin/RjqUf/
@shershen08 FYI The fiddle doesn't work anymore. It's otherwise a very nice reference!
@episodeyang sorry, didn't get your point - the fiddle link is ok
Hi, I'm on a mac using Chrome. The fiddle doesn't seem to be working, there is no content in the PDF area.
@episodeyang fiddle (http://jsfiddle.net/vivin/RjqUf/) work fine for me! Do you see any errors in console? any plugins that may block smth in the browser?