Skip to content

Commit

Permalink
fix: allow styles subject to CORS to work with print - save image (#1522
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Grammostola authored Apr 25, 2022
1 parent 914ae48 commit 3c73d63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const mm2Pt = function convertMm2Pt(mm) {

export const html2canvas = function html2canvas(el) {
return convertHtml2canvas(el, {
useCORS: true,
allowTaint: true,
backgroundColor: null,
logging: false,
Expand Down

0 comments on commit 3c73d63

Please sign in to comment.