Commit 59ed6416 authored by dragonwize's avatar dragonwize
Browse files

Fixed compatiblity issue with Wysiwyg API module not showing editor when tips are hidden

parent b254b0b1
......@@ -429,6 +429,12 @@ function better_formats_filter_form($value = FILTER_FORMAT_DEFAULT, $node_type =
$form[$format->format]['#description'] = theme('filter_tips', _filter_tips($format->format, FALSE));
$form[] = array('#value' => $extra);
}
else {
// this is to get around an issue with Wysiwyg API popping the last element
// should not be needed in D7
// @see http://drupal.org/node/344169
$form[] = array('#value' => '');
}
}
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment