Open MartinezVillaresAdrian opened 1 year ago
the same question
I'm seeing the same thing. Any updates on this?
Hello!!
I also asked the same question in ace repo and they gave me an answer, here is the link.
https://github.com/ajaxorg/ace/issues/5452
Basically you need to have the custom styles added as . CSS files and import them on your index.css file.
Hello!!
I also asked the same question in ace repo and they gave me an answer, here is the link.
https://github.com/ajaxorg/ace/issues/5452
Basically you need to have the custom styles added as . CSS files and import them on your index.css file.
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