Skip to content

Accordion Content, Accordion Panel: blockGap support doesn't work #71433

@t-hamano

Description

@t-hamano

Description

The Accordion Content and Accordion Panel blocks have the spacing.blockGap field defined, but it doesn't work because the layout field is not defined.

Step-by-step reproduction instructions

  • Inset an Accordion block.
  • Click the Accordion Content or Accordion Panel block.
  • Change the Block Spacing setting.
  • The gap style doesn't work.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] AccordionAffects the Accordion Block[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions