Skip to content

Hide empty paragraph block placeholder when it’s the only block when zoomed-out #65474

@andrewserong

Description

@andrewserong

After some discussion the new requirement here seems to be:

Don't show paragraph block placeholder if

it's the only block on the page
we're on an empty Page/Post
we're Zoomed Out.


Description

When zoom out mode is active in the editor / site editor, empty paragraph blocks continue to display their Type / to choose a block placeholder state, even though they cannot be selected.

Should this be hidden in zoom out mode?

Step-by-step reproduction instructions

  1. In a template, somewhere in the middle of the template, add an empty paragraph block
  2. Click the Zoom out button at the top right of the site editor
  3. Notice that the paragraph placeholder is still visible even though you can't click on it

Screenshots, screen recording, code snippet

In the following screenshot, the empty paragraph block there cannot be selected, but its placeholder is still visible. Should it be hidden?

image

Expected

Don't show paragraph block placeholder if

  • It's the only block on the page.
  • We're on an empty Page/Post.
  • The editor is zoomed out.

Metadata

Metadata

Assignees

Labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions