You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2967192
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web): Arabic and Hebrew text reads and navigates right to left
Every block in the composer and in chat messages was laid out with a
left-to-right base direction, so Arabic and Hebrew lines were left
aligned, their punctuation landed on the wrong side, list markers and
quote rules sat on the left, and English terms or inline code inside a
line reordered the words around them.
Each top-level block now takes the direction of most of its words, with
inline code left out of the count and isolated left to right. Code blocks
stay left to right. List, quote and table spacing use logical properties,
and thread titles in the sidebar, header and command palette follow
their own text.
In the composer, the custom arrow handling and ProseMirror's own both
assumed ArrowLeft moves back. The editor root now follows the caret's
line, which is where ProseMirror reads direction on Chrome, and the
handler reads the same direction, so the caret no longer sticks at the
edge of inline code in a right-to-left line.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments