Closed reubenfirmin closed 9 months ago
Use case: I am using a third party library (html-to-image) to export a full canvas of my application. It apparently fetches all external resources, and turns off cors checking if the external resource has a crossorigin attribute.
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin
Request is to be able to support:
Image(src = url, crossorigin=true
cf last comment in https://github.com/bubkoo/html-to-image/issues/301
Nvm. setAttribute does the job!
Use case: I am using a third party library (html-to-image) to export a full canvas of my application. It apparently fetches all external resources, and turns off cors checking if the external resource has a crossorigin attribute.
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin
Request is to be able to support:
Image(src = url, crossorigin=true
cf last comment in https://github.com/bubkoo/html-to-image/issues/301