Skip to content
New issue

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

Update README.md clarifying Content Security Policy handling #1251

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rorymercer
Copy link

Having been struggling for several hours to find the cause of why Vue.Draggable needs unsafe-eval as a Content Security Policy I found the comment in the codebase explaining this.

To avoid other users having to do this I suggest that the behaviour of Vue.Draggable in relation to CSP is documented in the list of gotchas already in the documentation.

Added a gotcha to the pre-existing section giving users more information on how Content Security Policies are applied by this package and how to resolve CSP issues thrown by the package.
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