Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
better_formats
Commits
efab73ed
Commit
efab73ed
authored
Mar 18, 2009
by
dragonwize
Browse files
Added #404618 by dragonwize, cursor: Panels comment support
parent
a97f37b4
Changes
2
Show whitespace changes
Inline
Side-by-side
README.txt
View file @
efab73ed
...
...
@@ -11,6 +11,7 @@ Features
* Set selection fieldset title.
* Set default formats for nodes and comments separately.
* Works with CCK textareas.
* Panels comment support
* and more.
-------------------------------------------------------------------
...
...
@@ -62,4 +63,3 @@ Extended usage and notes:
3. Global default format
4. First allowed format
5. Drupal core site default format
\ No newline at end of file
better_formats.module
View file @
efab73ed
...
...
@@ -98,6 +98,7 @@ function better_formats_form_alter(&$form, $form_state, $form_id) {
// is always 'node-form'.
switch
(
$form
[
'#id'
])
{
case
'comment-form'
:
case
'panels-comment-form'
:
better_formats_set_comment_format
(
$form
);
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment