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
When an image is too small and does not have responsive formats generated, asset.formats is null.
asset.formats
null
strapi-plugin-ckeditor/admin/src/components/CKEditor/index.js
Line 42 in 6ae0bd6
fix: add a check in the iabove if statement:
if (asset.formats?.length && uploadCfg?.responsiveDimensions) {
The text was updated successfully, but these errors were encountered:
fix: media lib asset.formats null check
6f5cdc6
fixes: nshenderov#13
Successfully merging a pull request may close this issue.
When an image is too small and does not have responsive formats generated,
asset.formats
isnull
.strapi-plugin-ckeditor/admin/src/components/CKEditor/index.js
Line 42 in 6ae0bd6
fix:
add a check in the iabove if statement:
The text was updated successfully, but these errors were encountered: