Skip to content

Global Styles: Add alignment support in global typography styles #48202

@danielbachhuber

Description

@danielbachhuber

Before we land #48146, we'd like to first support alignment in global typography styles. Alignment support can include justification, as long as it also supports hyphenation.

To properly handle hyphenation, we'll need lang support on the block level at least, too: #15349

Related #27300, #8450

Done is:

  • It's possible to set alignment in global styles.
  • Alignment is only applied to post content.
  • Justify is included in the alignment options.
  • Hyphenation is also available as a global style.

Metadata

Metadata

Assignees

Labels

Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] TypographyFont and typography-related issues and PRs[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

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