Skip to content

fix: avoid csp unsafe-inline styles - #41

Open
jeripeierSBB wants to merge 2 commits into
stackblitz:mainfrom
jeripeierSBB:patch-1
Open

fix: avoid csp unsafe-inline styles#41
jeripeierSBB wants to merge 2 commits into
stackblitz:mainfrom
jeripeierSBB:patch-1

Conversation

@jeripeierSBB

Copy link
Copy Markdown

Currently, when using stackblitz sdk in a environment with csp nonce, the sdk usage triggers an error:

Bildschirmfoto 2026-08-26 um 14 18 21

By using style.setProperty() this problem should be resolved without to accept unsafe-inline styles (what would be a security risk).

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

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

Successfully merging this pull request may close these issues.

1 participant