Skip to content

Support for Right-to-Left (RTL) Languages and Arabic Text Alignment #14955

Description

@marioblackak8

Description

Currently, AFFiNE does not properly support Right-to-Left (RTL) text direction. When writing in Arabic, the text remains Left-to-Right (LTR) aligned, which makes it very difficult to read or organize notes.

Image

Use case

As a user who relies on Arabic for professional documentation, I need the editor to automatically detect or allow manual switching to RTL mode. This is especially critical when mixing Arabic and English text in the same block, as the current layout becomes scrambled and unreadable.

Anything else?

Proposed Solution:

Implement native RTL support for the editor.

Add a toggle or automatic detection for RTL languages (like Arabic, Hebrew, etc.).

Ensure that mixed-language sentences maintain correct word ordering.

Image

برنامج AFFINE افضل برنامج لكنه ينقصة خاصية RTL.

Image

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Is your content generated by AI?

  • I confirm that the content I submitted was not generated by AI / merely contained minimal AI edits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    storyFeatures perceivable by end-users

    Type

    No type

    Projects

    Status
    🆕 *Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions