Enabling text editor on statuses form I was looking to use a text editor with statuses. Statuses is neither a Node nor an Entity. I searched a lot and found a simple solution. I just has to replace '#type' =&gt; 'textarea', with '#type' =&gt; 'text_format', in statuses/includes/utitlity/statuses.form.inc file. It converted it to a text format enabled textarea, but there are few problems. 


Ckeditor is not respecting the character limit set by the module, so I found maxlength module and added '#maxlength_js' =&gt; TRUE, but it does not make the default work. Instead it adds a separate character counter. The markitup library is respecting this, but I want to use ckeditor as I think it is the best editor. How to overcome it?
The form is now scrollable after enabling ckeditor. I want to disable scrolling. The resizeable was already set to FALSE in the module, but ckeditor is not respecting it. How to solve it?
How to hide paragraph counter and word counter? I have not enabled it from settings. I was there by default.


Here is the SnapShot of the statuses form.



Code was added like this: Only 2 modifications were made to the code, the rest is the original code of the module.

$form['fbss-status'] = array(
    '#type' =&gt; 'text_format',
    '#rows' =&gt; variable_get('statuses_box_rows', 2),
    '#maxlength_js' =&gt; TRUE,
    '#maxlength' =&gt; 140,
    // 508 compliance: add a label, but visually hide it
    '#title' =&gt; t('Status'),
    '#title_display' =&gt; 'invisible',
    '#default_value' =&gt; $default,
    '#attributes' =&gt; array('class' =&gt; array('statuses-text', 'statuses-text-main')),
    '#resizable' =&gt; FALSE,
    '#prefix' =&gt; '&lt;div class="statuses-textarea-wrapper"&gt;',
    '#suffix' =&gt; '&lt;/div&gt;',
    '#weight' =&gt; -40,
  );
Regarding your 2nd and 3rd questions, you could try this answer here: https://drupal.stackexchange.com/a/62407/12701

Instead of hacking the statuses module, you should create your own module and use hook_form_alter() like this:

/**
 * Implements hook_form_alter().
 * Adding WYSIWYG editor to statuses
 */
function MYMODULE_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  switch ($form_id) {
    case 'statuses_box':
      $form['fbss-status']['#type'] = 'text_format';
      $form['fbss-status']['#format'] = 'filtered_html';
      break;
    case 'fbss_comments_edit':
      $form['status-comment-edit']['#type'] = 'text_format';
      $form['status-comment-edit']['#format'] = 'filtered_html';
      break;
  }
  if (substr($form_id, 0, strlen('fbss_comments_box')) === 'fbss_comments_box') {
    $form['status-comment']['#type'] = 'text_format';
    $form['status-comment']['#format'] = 'filtered_html';
  }
}