trix icon indicating copy to clipboard operation
trix copied to clipboard

Read the csp meta tag nonce attribute and fall back to content

Open tvongaza opened this issue 9 months ago • 0 comments

This PR allows Trix to support rails/rails#51729. This changes Trix to read the meta tag's nonce attribute first and fall back to the content attribute.

As described in rails/rails#51580 (comment) this makes it harder to extract the nonce value.

Similar to hotwired/turbo#1254

tvongaza avatar May 08 '24 22:05 tvongaza