Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

First paragraph block on new post has too much padding when not selected #2077

Closed

Description

@iamthomasbishop

Note: I’ve only seen this very recently on internal test builds. It doesn’t exist (yet) on the main WP Internal Alpha or the other public betas. So it must be from a very recently merged change. // cc @pinarol

When creating a new post, the first empty paragraph block seems to have unwanted additional padding, pushing the placeholder text inward.

This extra padding goes away when you select the block or add any content.

image

To Reproduce
Steps to reproduce the behavior:

  1. Start a brand new post
  2. See the empty paragraph block placeholder text has too much padding.
    The placeholder text should be aligned to the same 16px key line as other blocks.

Smartphone (please complete the following information):

  • Device: iPhone 11 Pro,Android Pixel 4, iPad Pro

  • OS: iOS 13.3.1 (iPhone 11 Pro), Android 10 (Pixel 4), iPad OS 13.4 (iPad Pro)

  • Version: I’ve only seen this very recently on internal test builds. It doesn’t exist (yet) on the main WP Internal Alpha or the other public betas.

Activity

  1. jbinda commented on Apr 1, 2020

    @jbinda
    Contributor

    I have check this and it was probably introduced after merge new bordering logic and is also connected with fix replacing empty paragraph](#2077)

    When we open new post we render first Paragraph in DefaultAppender. It is also wrapped with View which has padding of value 16px applied. After implement new bordering logic it seems it gets extra margin. Will raise PR soon because already fix that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions