Closed (fixed)
Project:
Panels
Version:
6.x-3.0-beta4
Component:
Panel nodes
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2009 at 23:30 UTC
Updated:
4 Aug 2009 at 20:10 UTC
Currently panels_node_form adds a body element, but doesn't allow input format to be associated. Luckily it's a one line fix!
if (!empty($type->body_label)) {
$form['body'] = array(
'#type' => 'textarea',
'#title' => check_plain($type->body_label),
'#rows' => 10,
'#required' => TRUE,
'#description' => t('The teaser is a piece of text to describe when the panel is listed (such as when promoted to front page); the actual content will only be displayed on the full node view.'),
'#default_value' => $node->body,
);
$form['format'] = filter_form($node->format); // Now we can set the format!
}
Let me know if you want a patchfile.
Comments
Comment #1
merlinofchaos commentedCommitted this and forgot to mark the issue fixed.