Skip to content

Add text alignment controls to Preformatted block toolbar #6698

@ZebulanStanphill

Description

@ZebulanStanphill

No way to align Preformatted blocks?

The Heading, Paragraph, and Subheading blocks all have text alignment controls in their block toolbars. (The Cover Image and Quote blocks do as well, but those blocks will soon be updated to use nested Paragraph and Heading blocks, so they do not really count.) For some reason, the Preformatted block currently lacks these controls.

Solution

Add the text alignment button controls to the block toolbar of the Preformatted block.

Related Issues and/or PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueAn issue that's suitable for someone looking to contribute for the first time[Feature] BlocksOverall functionality of blocks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions