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.
All of the fields are moved into the "MORE SETTINGS" underneath the editor. In some cases we are building content types that use Gutenberg but still require a handful of fields. It would be great to group fields into sub-sections so that the field list is not overwhelming when opening the "MORE SETTINGS" section.
I'm not sure if it would be possible to use the normal form display below the Gutenberg editor (preferred) or at least some way to group fields. Currently if you group any of the fields it more or less breaks the display.
Here's the image how it was before.
Comment | File | Size | Author |
---|---|---|---|
#11 | Bildschirmfoto 2023-01-02 um 10.16.11.png | 65.14 KB | szeidler |
#7 | 3096002-7.patch | 1.52 KB | jofitz |
#7 | interdiff-6-7.txt | 523 bytes | jofitz |
#6 | 3096002-6.patch | 990 bytes | jofitz |
#6 | interdiff-5-6.txt | 720 bytes | jofitz |
Comments
Comment #2
pvasener CreditAttribution: pvasener commentedI have a similar issue. If I choose the 'Sidebar Details' field group type, the group is nicely displayed in a collapsible tab in the right sidebar of the edit form. But, if you select 'Details', the collapsible tab is diplayed at the top of the gutenberg editor space instead of inside the 'More Settings' collapsible space (Which is what is expected, right ?)
Comment #3
pvasener CreditAttribution: pvasener commentedA screenshot may actually be clearer than my words...
Comment #4
creatile CreditAttribution: creatile commentedSame bug for me Fields inside field groups won't be displayed in More settings using the latest field group module in drupal 9
Comment #5
jofitz CreditAttribution: jofitz at SIRUSS commentedThis patch transfers any (parentless) field groups into the "More Settings" section.
Comment #6
jofitz CreditAttribution: jofitz at SIRUSS commentedIf the field that has Gutenberg applied to it is in a Field Group then the node edit page does not display correctly, so this patch does the same as the previous and removes the field from its Field Group.
Comment #7
jofitz CreditAttribution: jofitz at SIRUSS commentedgutenberg_form_node_form_alter()
must run afterfield_group_form_alter()
so addinggutenberg_module_implements_alter()
.Comment #9
marcofernandes CreditAttribution: marcofernandes at Frontkom commentedComment #11
szeidler CreditAttribution: szeidler at Ramsalt Lab commentedI experience a couple of regressions, because of that change. It seems because of the form alter order changed with `gutenberg_module_implements_alter` a couple of other form_alter implementations are not working as expected anymore. For example Scheduler was previously shown in the sidebar automatically, but now it's displayed beneath the Gutenberg editor in the "More settings" fieldset.