forked from 0x2620/pandora
fix text selection in pdfs
This commit is contained in:
parent
beddf586d1
commit
b23135f3f9
3 changed files with 6 additions and 2 deletions
|
@ -21,7 +21,7 @@ if (typeof PDFJS === 'undefined') {
|
|||
}
|
||||
|
||||
PDFJS.version = '0.8.798';
|
||||
PDFJS.build = '5cd9fec';
|
||||
PDFJS.build = '5b0eebb';
|
||||
|
||||
(function pdfjsWrapper() {
|
||||
// Use strict in our context only - users might not want it
|
||||
|
|
2
static/pdf.js/pdf.worker.js
vendored
2
static/pdf.js/pdf.worker.js
vendored
|
@ -21,7 +21,7 @@ if (typeof PDFJS === 'undefined') {
|
|||
}
|
||||
|
||||
PDFJS.version = '0.8.798';
|
||||
PDFJS.build = '5cd9fec';
|
||||
PDFJS.build = '5b0eebb';
|
||||
|
||||
(function pdfjsWrapper() {
|
||||
// Use strict in our context only - users might not want it
|
||||
|
|
|
@ -1290,8 +1290,12 @@ canvas {
|
|||
bottom: 0;
|
||||
color: #000;
|
||||
font-family: sans-serif;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.imageLayer > div {
|
||||
pointer-events: all;
|
||||
}
|
||||
.textLayer > div {
|
||||
color: transparent;
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in a new issue