Skip to content

Hide the inserter in pattern previews #36625

@kjellr

Description

@kjellr

Currently, if a block pattern includes an empty column, it displays a giant inserter button in the editor:

Screen Shot 2021-11-18 at 1 13 14 PM

This button also appears in the pattern preview:

Screen Shot 2021-11-18 at 1 11 40 PM

It generally makes sense to show this inserter in the editor, but it definitely doesn't make much sense to show it in the pattern preview. It only exists to show you that you can insert a block there, but you're not going to be inserting blocks directly within the pattern preview.

Can we hide this inserter from the block pattern previews?

Metadata

Metadata

Assignees

Labels

[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

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions