Giter Site home page Giter Site logo

CSSStyleSheet Error about html-to-image HOT 11 CLOSED

bubkoo avatar bubkoo commented on May 12, 2024 1
CSSStyleSheet Error

from html-to-image.

Comments (11)

simplecommerce avatar simplecommerce commented on May 12, 2024 3

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.

zeekrey avatar zeekrey commented on May 12, 2024

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.

vivcat avatar vivcat commented on May 12, 2024

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.

peratik avatar peratik commented on May 12, 2024

Same error here

from html-to-image.

vivcat avatar vivcat commented on May 12, 2024

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.

davidcdupuis avatar davidcdupuis commented on May 12, 2024

I am also getting this issue.

from html-to-image.

vivcat avatar vivcat commented on May 12, 2024

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.

MrOli3000 avatar MrOli3000 commented on May 12, 2024

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.

vivcat avatar vivcat commented on May 12, 2024

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.

vivcat avatar vivcat commented on May 12, 2024

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.

vivcat avatar vivcat commented on May 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.