MAMABA / editstrap

Make editable field using jquery and bootstrap
http://www.editstrap.com
12 stars 1 forks source link

Ability to add custom classes on complex type #37

Open jwmcelr opened 7 years ago

jwmcelr commented 7 years ago

On the complex type, there is no way once the fields are built to identify them through CSS classes in case I want to apply CSS customizations to them. It would be useful to pass a custom classes string in that would be put on the multiple-edit-span for each field, so the field can be identified for javascript/CSS purposes.

i.e.

var span = $('<span class="multiple-edit-span ' + editType.customClasses + '"></span>');

Thank you.