strapi-plugin-react-editorjs
strapi-plugin-react-editorjs copied to clipboard
Fix bug missing some attributes on image component
As I think the image block shoulds contain the original Strapi image information such as alternativeText
, name
, ext
, provider_metadata
... instead of removing or customizing it. So it keeps the consistent with other plugins that may use them.
@nhvu1988 This change will significantly increase the size of the content. Need to get more attention from other people who need these changes
@nhvu1988 This change will significantly increase the size of the content. Need to get more attention from other people who need these changes
At least the preview URL is very important for improving SEO(in NextJS, for instance).
So, what could be a better solution?
However, it seems the Cloudinary plugin is not saving the previewURL
.
Maybe adding an option to the plugin config to include the metadata could be a good compromise on the concern of the increased content size.
Maybe adding an option to the plugin config to include the metadata could be a good compromise on the concern of the increased content size.
@bmfs This could be a solution, can you prepare these changes?