'details' => array(
'type' => 'wysiwyg',
'label' => ts('Details'),
- // forces a smaller edit window
- 'attributes' => array('rows' => 4, 'cols' => 60),
+ 'attributes' => array('class' => 'huge'),
'required' => FALSE,
),
'status_id' => array(
$attribute = CRM_Utils_Array::value('attributes', $values);
$required = !empty($values['required']);
- if ($values['type'] == 'wysiwyg') {
- $this->addWysiwyg($field, $values['label'], $attribute, $required);
- }
- elseif ($values['type'] == 'select' && empty($attribute)) {
+ if ($values['type'] == 'select' && empty($attribute)) {
$this->addSelect($field, array('entity' => 'activity'), $required);
}
elseif ($values['type'] == 'entityRef') {