Skip to content

Pattern Overrides: Parent selector not visible in toolbar when overridable block is selected #59620

Description

@artemiomorales

Description

When overrides are enabled in a pattern and an overridable block is selected, the parent selector is not visible in the block toolbar, which is unexpected.

Reported by @annezazu in #59477 (comment).

Step-by-step reproduction instructions

  1. Create a new synced pattern
  2. Add a paragraph to the pattern
  3. Enable instance overrides for the paragraph beneath 'Advanced' by giving it a name
  4. Save the pattern and insert it into a post
  5. Select the overridable paragrah — see that the parent selector in the toolbar is not visible.

Screenshots, screen recording, code snippet

parent.block.mov
Screen.Recording.2024-03-05.at.9.40.45.AM.mp4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Synced PatternsRelated to synced patterns (formerly reusable blocks)[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