I wrote a custom form module in that I placed one text area:
I've tried in this way:
$form['message'] = array( '#title' => t('Message'), '#type' => 'textarea', '#format' => 'full_html', '#default_value' => isset($ntemplates->message) ? $ntemplates->message : '', '#maxlength' => 255, '#attributes' => array( 'class' => array('field_info'), 'rows' => '5', 'cols' => '200', ), '#wysiwyg' => TRUE, );
But it doesn't work. How can I integrate WYSIWYG editor in to my text area?
Note: I'm using wysiwyg-7.22 and ckeditor-18.104.22.168. In the basic page body section it's working. I wrote one custom module for form. In this I am unable to integrate wysiwyg editor.