I'm using the CKEditor module, and I would like to have the CKEditor in my custom textarea. I tried hard but it just doesn't work...
This some of the code I tried:
$form['body'] = array (
'#type' => 'textarea',
'#title' => 'Item Snippet',
'#default_value' => $body,
'#cols' => 80,
'#rows' => 7
);
$form['']['format'] = filter_form();
$form['']['format']
should probably be$form['body']['format']
.