solid-toast icon indicating copy to clipboard operation
solid-toast copied to clipboard

Toaster is not compatible with Content-Security-Policy, probably without a good reason

Open TPReal opened this issue 9 months ago • 0 comments

The Toaster class creates a <style> element in its JSX, which is skipped (and reported) if CSP is enabled for the page. The style element introduces just some simple rules, that should be included in a different way, one that does not cause CSP to complain.

TPReal avatar Mar 12 '25 13:03 TPReal