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

Allow UI Elements to be declared using PHP attributes #217

Closed delyriand closed 2 months ago

delyriand commented 3 months ago

FYI, CI is fixed in #218

In this PR, we add PHP attributes to be able to declare UI Elements directly from the FormType.

I'm also removing support for PHP version 7.4 and Sylius 1.8 and 1.9. Go to the future 🚀

In the form type section of the README, I've added documentation on attributes and examples.

The example UI Element, in the dist folder, is also updated to be declared via attributes.

And, i add a new maker command to generate the UI Element files:

image