Skip to content

Paragraph block automatically adds top and bottom margin #51255

Open

Description

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

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

Metadata

Assignees

No one assigned

    Labels

    [Block] ParagraphAffects the Paragraph BlockAffects the Paragraph Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions