The jsPDF html module generates a blank page when the browser has Grammarly extension
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 31.3k
- Forks
- 4.8k
- PR merge metrics
- No merged PRs in 30d
Description
I am using jsPdf v2.5.0 to create pdf from html. use doc.html() method.
doc.html(html).then(value => {
doc.save(sample.pdf);
});
I got the issue when i turn on the grammarly extension in chrome. the downloaded file is blank. if i turn it off. the download file works.
Can you please take a look at this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with jsPDF v2.5.0 using doc.html() in Chrome with the Grammarly extension enabled and disabled. Compare the generated PDFs and trace the html module's browser rendering path to identify why the extension produces a blank page. Done means doc.html() generates the expected PDF while Grammarly is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100