Skip to content

Paragraph block automatically adds top and bottom margin #51255

@paaljoachim

Description

@paaljoachim

Description

I am using the Gutenberg plugin Version 15.9.1
Twenty Twenty Three.
WordPress 6.2.2

Paragraph block adds a margin in the top and bottom.

This is what I did.

  1. I added a Cover block with a full width image.
  2. Added a Paragraph block. Added a background color.
  3. Added another Cover block with a full width image.

Screenshot 2023-06-06 at 09 39 51

Frontend:
Screenshot 2023-06-06 at 09 40 39

Notice the added top and bottom margin.

Btw one should also be able to have alignment controls the same as Heading. New issue coming up if one does not already exist.

Step-by-step reproduction instructions

Screenshots, screen recording, code snippet

Environment info

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

    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