monsieurbiz / SyliusRichEditorPlugin

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

Add classes and prototype name in image collection element #222

Closed maximehuran closed 7 months ago

maximehuran commented 7 months ago

Update collection type to have prototype name

To avoid issue with collection forms javascript

Add some classes on image collection type

In order to have display in a special segment

image

Also you have specific class to customize the display of it with collection--flex

For example you can add this to have flex display of your elements


.collection--flex > div {
    display: flex;
    flex-flow: wrap;
}

.collection--flex > div > div {
    margin-right: 10px;
}

image