Comments (11)
Guys, I tried this based on another issue here that I read, I put crossorigin="anonymous" in the tag and it works for me.
Example:
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500|Montserrat:300,400,500" crossorigin="anonymous">
from html-to-image.
Same here 😢
Error while reading CSS rules from https://fonts.googleapis.com/css2?family=Capriola&family=Open+Sans:wght@300;400;700&display=swap SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
This seems to hide or resolve the message: #17 (comment) But the received dataurl is still empty.
from html-to-image.
Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
Thanks for being a part of the Antv community! 💪💯
from html-to-image.
Same error here
from html-to-image.
Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
Thanks for being a part of the Antv community! 💪💯
from html-to-image.
I am also getting this issue.
from html-to-image.
Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
Thanks for being a part of the Antv community! 💪💯
from html-to-image.
Guys, I tried this based on another issue here that I read, I put crossorigin="anonymous" in the tag and it works for me.
Example:
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500|Montserrat:300,400,500" crossorigin="anonymous">
This fixed my issue.
from html-to-image.
Hiya!
This issue has gone quiet. Spooky quiet. 👻
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
Thanks for being a part of the Antv community! 💪💯
from html-to-image.
Hey again!
It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY
. Please feel free to comment on this issue or create a new one if you need anything else. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
Thanks again for being part of the Antv community! 💪💯
from html-to-image.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
from html-to-image.
Related Issues (20)
- (love) Just to tell you how great your software is HOT 1
- Graph screenshots don't save in Safari HOT 1
- Using url from firebase storage as src for img tag, results in error Object event HOT 1
- Variable font properties are not respected HOT 1
- `ComputedStyle` set to all elements, but it causes SVG `use` element can't override reference object style, so generate wrong style image. HOT 2
- When I call toPng for a second time on a different ref, the image is still old HOT 2
- Add the possibility to pass an HTML string as parameter instead of an HTMLElement HOT 4
- tailwind's backdrop-blur-md utility class dissapeard on toPng, toJpeg rendering option HOT 2
- export image very slowly when use custom fonts HOT 2
- Unable to generate image from valid HTML - getting empty Image HOT 9
- Issue with SVG containing "url(#)" HOT 1
- PNG image rendering as blank on IOS 13 view option HOT 2
- CSS shadows not rendered on mobile HOT 2
- questiong: Is this repo no longer maintained ? HOT 1
- Why isn’t the image resource specified in border-image-source being downloaded during the process of converting the DOM element to an image? HOT 3
- Before generate image I need change element style or other properties,can provide same function support feature HOT 1
- toBlob won't save to a jpeg HOT 1
- Much larger file on Safari(Mac) or iOS compared to Chrome(Mac) HOT 1
- Fixed elements not respected HOT 1
- Blank Image in Safari HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html-to-image.