Skip to content

Paragraph block: becomes invalid when setting text alignment to justified #8450

@ZebulanStanphill

Description

@ZebulanStanphill

The issue

You can not set the text-align CSS property of a Paragraph block to justify. If you add it manually via Edit as HTML, the block will become invalid. Justified text alignment should be allowed, even if it is not exposed through the UI.

How to reproduce

  1. Insert a Paragraph block.
  2. Click the ellipsis (More Options) and choose Edit as HTML.
  3. Add the following to the <p> tag: style="text-align:justify".
  4. Try unfocusing the block.
  5. Notice that the block becomes invalid.

Related issues and PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions