I'ld like to add a new field type only to add some customizations to the template (for example background-color, classes for padding, margin, colors, ...). By this way, i can customize template elements, ad div container and so on.
I imagine something like that:
data-bre-field="{ 'name' : 'options', 'type' : 'fieldtype', 'values': JSON MAP NAME => TYPE + VALUES }"
I'ld like to add a new field type only to add some customizations to the template (for example background-color, classes for padding, margin, colors, ...). By this way, i can customize template elements, ad div container and so on.
I imagine something like that:
data-bre-field="{ 'name' : 'options', 'type' : 'fieldtype', 'values': JSON MAP NAME => TYPE + VALUES }"
Any suggestions? What's the best way to do this?
Thanks