Skip to content

🐛(frontend) show right-to-left text from the right in the editor - #2

Merged
MashdorDev merged 1 commit into
feat/could-v6.0.0from
fix/v6-rtl-block-direction
Oct 26, 2026
Merged

MashdorDev merged 1 commit into
feat/could-v6.0.0from
fix/v6-rtl-block-direction

Conversation

@MashdorDev

Copy link
Copy Markdown
Owner

Cherry-pick of suitenumerique#2919 onto our 6.0 branch, so docs.dorzairi.com gets the RTL fix before upstream merges it.

Each block gets dir="auto", so Hebrew, Arabic and other RTL text starts on the right, with list markers on the right too. English blocks stay left. Tested on a local stack with Hebrew, Arabic, Persian, Urdu and Yiddish. Only CHANGELOG.md conflicted: the entry goes under "Fork".

Blocks always rendered left-to-right, so Hebrew or Arabic paragraphs
started on the left with their punctuation on the wrong side. Setting
dir=auto on each block lets the browser pick the direction from the
block's own text, so RTL and LTR blocks can sit in the same doc.

Fixes suitenumerique#732
@MashdorDev
MashdorDev merged commit b6bf1a0 into feat/could-v6.0.0 Oct 26, 2026
@MashdorDev
MashdorDev deleted the fix/v6-rtl-block-direction branch October 26, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant