Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The Panels module provides the panel element "New custom content" which is simply a node-like edit form. It allows to choose the Input Format too.
Similar to #404618: Panels comment support it would be nice to have its form ID added to better_formats_form_alter()
to allow Better Formats to step into the Input Format part of the form. It's a one liner so I just copy the changes here:
Replace
case 'node-form':
by
case 'node-form':
case 'ctools-custom-content-type-edit-form':
I did test it with Panels 3.2.
Comment | File | Size | Author |
---|---|---|---|
#3 | panels-custom-node-content-697240-3.patch | 382 bytes | joelstein |
Comments
Comment #1
fuerst CreditAttribution: fuerst commentedComment #2
dragonwize CreditAttribution: dragonwize commentedI am postponing all further module integration until 3.x.
Comment #3
joelstein CreditAttribution: joelstein commentedThe code in the original issue adds the Better Formats support to Panel's "custom node content" forms. Here's a formal patch, in case it helps.
Comment #4
dragonwize CreditAttribution: dragonwize commented6.x is now unsupported.