- Issue created by @crmn
- 🇫🇷France ccrosaz
It is not really clear in the documentation or the example.style_options.yml, but you can use keyed option array for your values, and it solve different problems :
- You can modify the order of the values
- You can add and delete values
- You can define a default value more specifically
In your example, you can use something like:
options: margin_bottom: plugin: css_class label: 'Außenabstand unten' multiple: false required: true options: nomargin: label: No margin class: mb-0 small: label: Small Margin class: 'mb-2 md:mb-4 xl:mb-8' medium: label: Medium Margin class: 'mb-4 md:mb-8 xl:mb-16' large: label: Big margin class: 'mb-8 md:mb-16 xl:mb-32' default: medium