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
'Upload Image' button within Image content block is not working. Browser devtools show event listener as an empty function.
The button should open a file browser or drag & drop file input.
Button event listener:
editor.js in sources panel showing Qr():
Strapi security middleware configured as per docs. Also set 'unsafe-inline' and CORS origin to '*' for troubleshooting purposes:
{ name: "strapi::security", config: { contentSecurityPolicy: { useDefaults: true, directives: { "connect-src": ["'self'", "https:"], "img-src": [ "'self'", "data:", "blob:", "cdn.jsdelivr.net", "strapi.io", "s3.amazonaws.com", ], "media-src": ["'self'", "data:", "blob:", "market-assets.strapi.io"], "script-src": [ "'self'", "'unsafe-inline'", "editor.unlayer.com", "editor.unlayer.com/embed.js", ], "frame-src": ["'self'", "editor.unlayer.com"], }, }, }, }, { name: "strapi::cors", config: { headers: [ "Content-Type", "Authorization", "Accept", "Origin", "Cache-Control", "Pragma", ], origin: "*", methods: ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"], credentials: true, }, },
The text was updated successfully, but these errors were encountered:
Thank you!! This is your first issue on this repo
Sorry, something went wrong.
No branches or pull requests
Bug report
Describe the bug
'Upload Image' button within Image content block is not working. Browser devtools show event listener as an empty function.
Steps to reproduce the behavior
Expected behavior
The button should open a file browser or drag & drop file input.
Screenshots
Button event listener:
editor.js in sources panel showing Qr():
Code snippets
Strapi security middleware configured as per docs. Also set 'unsafe-inline' and CORS origin to '*' for troubleshooting purposes:
System
The text was updated successfully, but these errors were encountered: