monsieurbiz / SyliusRichEditorPlugin

This plugin add a rich editor on fields to be able to drag and drop elements and edit it.
MIT License
65 stars 35 forks source link

ImageCollection images no longer array when delete element other than last #220

Open MuGGYStyle opened 3 months ago

MuGGYStyle commented 3 months ago

Screenshots

image image image image

maximehuran commented 3 months ago

Hi @MuGGYStyle ,

Thank you for your contribution. We know this case and we are correcting it on Sylius directly using this patch : https://github.com/sylius/sylius/pull/13666 Check https://github.com/cweagans/composer-patches package to see how to apply a patch in your project.

But it does not work since Sylius 1.11 and we haven't got another patch at this moment. We had a discussion about this issue before on #174 and we have specific case when indexes are not integer as said @jacquesbh in https://github.com/monsieurbiz/SyliusRichEditorPlugin/pull/174#issuecomment-1054461706