Examples

Simple text area

      'text_4' => [ 
         'exclude' => 1,
         'label' => 'text_4',
         'description' => 'cols=20, rows=2',
         'config' => [ 
            'type' => 'text',
            'cols' => 20,
            'rows' => 2,
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_basic"

Rich text editor field

      'rte_1' => [ 
         'exclude' => 1,
         'label' => 'rte_1 description',
         'description' => 'field description',
         'config' => [ 
            'type' => 'text',
            'enableRichtext' => true,
            'fieldControl' => [ 
               'fullScreenRichtext' => [ 
                  'disabled' => false,
               ],
            ],
         ],
      ],
      // Example from extension "styleguide", table "tx_styleguide_elements_rte"