Defining Text Field Editors

...

import static org.lightadmin.api.config.utils.Editors.wysiwyg;
import static org.lightadmin.api.config.utils.Editors.textArea;

public class ProductAdministration extends AdministrationConfiguration {

    public FieldSetConfigurationUnit formView( final PersistentFieldSetConfigurationUnitBuilder fragmentBuilder ) {
        return fragmentBuilder
                .field("name").caption("Name")
                .field("description").caption("Description").editor( textArea() )
                .field("extendedDescription").caption("Extended Description").editor( wysiwyg() ).build();
    }
}

Text Field, Text Area, and Rich Text Editors