Is it possible to disable append style tag into <head> in ApexCharts ? #4381
Unanswered
redwingjusticework
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
The apexchart is really good plugin and the api is clear to read however when i use ApexCharts with Content Security Policy, and it seems that the option style-src 'self' 'unsafe-inline'.
Refused to apply inline style because it violates the following Content Security Policy directive
Is it possible to disable append style tag into in ApexCharts ?
apexcharts.js:14533 Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-r6YXf0FH0c0za5mvk1odENR+z4qTbdvjkTiTyOeKU30='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.
apexcharts.js:33622 Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-SSGCrClQA5HDwURccGOBm8CCOfMt1gmANv5KkeZERXs='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.
Beta Was this translation helpful? Give feedback.
All reactions