nshenderov / strapi-plugin-ckeditor

Integrates CKEditor 5 into your Strapi project as a fully customizable custom field. (Unofficial integration)
https://www.npmjs.com/package/@_sh/strapi-plugin-ckeditor
MIT License
95 stars 58 forks source link

when uploading a gif image, it does not play #133

Closed IIACTbIPb closed 2 months ago

IIACTbIPb commented 7 months ago

When inserting a gif image into CKEditor, it is displayed statically image

And if you go into SourceEditing mode, you will notice that the picture looks like this

`

gif-name.gif

`

if you remove the attribute srcset and exit SourceEditing mode, the gif image will be displayed correctly

is it possible to remove this attribute somehow?

nshenderov commented 7 months ago

This happens because strapi resizes the image and the resized one is not animated for some reason. This is not related to this plugin. You can disable responsive images to remove srcset.