-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Code does not comply with Content-Security-Policy when 'unsafe-inline' is not present. #232
Comments
This issue is also present with the icons inserted with data-uri's, but I was able to fix it by adding |
Can you include the exact header? |
Sure:
|
You can now pass in false to the style config to prevent Quill from adding style tags. |
That style config link is no longer valid. What's the most current way to handle this? |
@jhchen What's the solution for the current Quill version to prevent inline style? |
@jhchen May be we should go back to iframe for sandboxing unsafe Quill? |
I am currently using Quill on one of my apps that I will be releasing this week.
The app using a very strict CSP header (currently in Report-Only mode), which disallows
unsafe-inline
. The CSP header emits an error when Quill callsaddStyles(...)
.The text was updated successfully, but these errors were encountered: