We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 When trying to implement CSP(content security policy) in Rails 5.2 Trix editor breaks. can anyone help here with how to fix it?
Code added in application.rb
application.rb
config.content_security_policy do |policy| policy.default_src :self, :https policy.font_src :self, :https, :data policy.img_src :self, :https, :data policy.object_src :none policy.script_src :self, :https policy.style_src :self, :https end
rendered editor:-
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
When trying to implement CSP(content security policy) in Rails 5.2 Trix editor breaks. can anyone help here with how to fix it?
Code added in
application.rb
rendered editor:-
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: