Better RTL (Right-to-Left) support in editors across Frappe apps

I wanted to suggest improving RTL (Right-to-Left) support across different parts of the ecosystem where users write multilingual content.
For users writing in Persian, Arabic, Hebrew, etc., it’s very common to mix RTL and LTR text together in the same sentence or paragraph (for example Persian + English technical terms).

Right now, in places like:

  • Ticket Web Forms / Helpdesk

  • Wiki

  • Raven

  • Rich Text / Text Editor fields

  • Comments and descriptions
    the editor behavior is still mostly LTR, which makes mixed-language content difficult to read and edit.

Currently, mixed RTL/LTR content (such as Persian and English together) can become difficult to read and edit because text direction, alignment, and cursor behavior are not handled consistently.

This would greatly improve usability for many international users and teams already using Frappe in RTL languages.

Thanks again

4 Likes

Hey,
i was trying to implement this just for practice , can u verify the result

  • Current Functionality

  • implemented by me

2 Likes

Thanks a lot for working on this.
Could you please test it with this sample so I can check whether the alignment and word order look correct?

My name is الهام

This should help verify that mixed RTL/LTR text is displayed properly. Also, do you think this approach can be applied to Wiki and Ticket Web Forms as well?

its like this, what do u say?

Perfect!!! Thank you dear Ishtiyak.:heart_eyes:

Your Welcome, I don’t know if they will merge this or not, I will let u know if it gets merged

3 Likes

The example that you shared to write is working the same as what I shared, in the current version

1 Like