strapi-plugin-react-editorjs icon indicating copy to clipboard operation
strapi-plugin-react-editorjs copied to clipboard

Fix bug missing some attributes on image component

Open nhvu1988 opened this issue 2 years ago • 4 comments

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 avatar May 07 '22 06:05 nhvu1988

@nhvu1988 This change will significantly increase the size of the content. Need to get more attention from other people who need these changes

melishev avatar Sep 02 '22 12:09 melishev

@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.

SalahAdDin avatar Oct 09 '22 17:10 SalahAdDin

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 avatar Oct 10 '22 10:10 bmfs

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?

melishev avatar Oct 12 '22 23:10 melishev