Skip to content

Accordion block in section blocks / content only mode: improve how it appears #75270

@andrewserong

Description

@andrewserong

Description

When an accordion appears within a section / content only mode, it displays in a very noisy way in the sidebar with all its component blocks appearing. This makes the sidebar quite hard to work with, and it fill up a lot of the available space as flagged by @talldan in #72052 (comment)

Image

One idea:

I think it might an idea to try adding the List View block support for Accordion and seeing if that provides a better experience.

This could be a better approach as it would mean only the root Accordion would appear in the sidebar, and its contents could be rearranged from the List View tab instead.

Step-by-step reproduction instructions

  1. Insert a pattern into a post, page, or template
  2. Click to edit the section
  3. Add an accordion with a few items, and put some paragraphs in them
  4. Click to exit editing the section
  5. With the parent section/pattern selected see how noisy the sidebar looks

Metadata

Metadata

Assignees

Labels

[Block] AccordionAffects the Accordion Block[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions