Skip to content
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

Issue with CSP #1832

Open
MartinezVillaresAdrian opened this issue Jul 3, 2023 · 1 comment
Open

Issue with CSP #1832

MartinezVillaresAdrian opened this issue Jul 3, 2023 · 1 comment

Comments

@MartinezVillaresAdrian
Copy link

Hello, I have an issue that you might be able to help me with.

In my current project, I need to remove 'unsafe-inline' CSP header for the 'style-src' .

I've been reading a lot of comments in the ace repository and they all leave me to the next solution

ace.config.set('useStrictCSP', true)

I tried that and the errors from the CSP are gone, but the editors are not working, I guess that's because the styles are not being loaded anymore.

Have you ever faced that issue?, is it possible to set up a nonce for the editor ?

Regards

@FrogSky
Copy link

FrogSky commented Sep 14, 2023

the same question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants