Wysiwyg module - ckeditor (add autogrow plugin)

function modulename_wysiwyg_editor_settings_alter(&$settings, &$context) {
  if ($context['profile']->editor == 'ckeditor') {
     if (!empty($settings['extraPlugins'])) {
       $settings['extraPlugins'] .= ',autogrow';
     }
     else {
       $settings['extraPlugins'] .= 'autogrow';
     }
     $settings['resize_enabled'] = FALSE;
     $settings['autoGrow_maxHeight'] = 500;
  }
}
Help Share this Article