Skip to content

RTL: Text set to align left stays left-aligned on RTL sites #219

Closed

Description

@t-hamano

What happened?

Several patterns set "textAlign":"left" on headings and paragraphs, which outputs the has-text-align-left class.

The core text alignment control sets a physical direction, as the /*rtl:ignore*/ on .has-text-align-left shows, so the text stays aligned to the left on RTL sites. There is currently no way to set a logical direction, but in all of these blocks the text already inherits text-align: start from its parent, so there's no need to set "textAlign":"left" explicitly.

Where does it happen?

On the site (front end)

Steps to reproduce

  1. Go to Settings → General and set the site language to العربية.
  2. Create a page and insert the "Coming Soon" pattern.
  3. View the page.
  4. See the heading and paragraph aligned left, while the button and the rest of the page are aligned right.

Screenshots or screen recording

LTR RTL
coming-soon-ltr coming-soon-rtl

WordPress version

7.2-beta5-65401

PHP version

8.3

Ipsum version

git clone at commit fdfda0a

Gutenberg plugin version

Not installed

Browser and device

No response

Before you submit

  • I searched the existing issues and this bug hasn't been reported yet.

Activity

  1. added
    [Type] BugAn existing feature does not function as intended
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn 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