Skip to content

Template Preview: blocks used in page Content lack contextual menu if they're locked at the top (Title, Featured Image) #59359

@kmanijak

Description

@kmanijak

Description

When testing Template Preview I spotted that blocks that are locked at a top level (Title, Featured Image) lack contextual menus when used in Content

Step-by-step reproduction instructions

  1. Add new Page
  2. Add some blocks to the page, for example:
  • Separator
  • Featured Image
  1. Enable "Template Preview" mode
  2. Open List View
  3. Focus on Separator - it has contextual menu and block Toolbar
  4. Focus on Featured Image - it has no contextual menu and there's no block Toolbar so you can't move the block etc.

Screenshots, screen recording, code snippet

tamplete-preview.mov

Environment info

  • WordPress - 6.5-beta2-57707
  • Gutenberg - 17.7.0

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

    [Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions