Merge pull request #15510 from civicrm/5.19
[civicrm-core.git] / CRM / Core / I18n / Form.php
index bc8b776af1fa4bbdcaff6dc63c9675836e792e34..dd7aa9bd31dccdc8147002b54a9d8cca10e28df5 100644 (file)
@@ -78,7 +78,10 @@ class CRM_Core_I18n_Form extends CRM_Core_Form {
 
     if ($widget['type'] == 'RichTextEditor') {
       $widget['type'] = 'wysiwyg';
-      $attributes['class'] .= ' collapsed';
+      $attributes['class'] = 'collapsed';
+    }
+    elseif ($widget['type'] == 'Text') {
+      $attributes['class'] = 'huge';
     }
 
     $languages = CRM_Core_I18n::languages(TRUE);