Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while converting dom to image #478

Open
2 tasks
ImVk8686 opened this issue Apr 29, 2024 · 1 comment
Open
2 tasks

Error while converting dom to image #478

ImVk8686 opened this issue Apr 29, 2024 · 1 comment

Comments

@ImVk8686
Copy link

Use case: i was trying to convert node html to image but we are using facing issue while reading an external css ruleset and it was going into exception , how to avoid this as u know chrome didnt allow script , link to download of different origin i tried making my link style sheet tag setting as crossorigin as anonymous, but it still didnt worked

jsfiddle

Expected behavior : it should download that into blob

Actual behavior : its going to error exception and not downloading anything

Library version

Browsers

  • Chrome 49+
  • Firefox 45+
@forever0714yuan
Copy link

forever0714yuan commented Apr 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants