# Does Prosemirror support RTL languages editing?

**URL:** https://discuss.prosemirror.net/t/does-prosemirror-support-rtl-languages-editing/1318
**Category:** Uncategorized
**Created:** [May 8, 2018, 8:29pm UTC](https://discuss.prosemirror.net/t/does-prosemirror-support-rtl-languages-editing/1318 "2018-05-08T20:29:27Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![martzoukos](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/martzoukos/32/635_2.png) [@martzoukos](https://discuss.prosemirror.net/u/martzoukos)
#### Post date: [May 8, 2018, 8:29pm UTC](https://discuss.prosemirror.net/t/does-prosemirror-support-rtl-languages-editing/1318/1 "2018-05-08T20:29:27Z")

</div>

Hello there,

apologies if this has been asked before but I couldn’t find anything with a quick search of “RTL”, “Right to left” or RTL locale names.

Some languages, such as Hebrew, Chinese, Arabic need to be aligned from Right To Left in the editing interface.

Does Prosemirror support something like that out of the box (I’m looking for a page similar to the [CodeMirror one](http://ProseMirror)), via some kind of configuration? Or is it just a matter of assigning `direction: rtl;` to the `ProseMirror` element?

Thank you in advance!

---

<div class="post-metadata">

### Author: ![marijn](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/marijn/32/15_2.png) [@marijn](https://discuss.prosemirror.net/u/marijn)
#### Post date: [May 9, 2018, 8:24am UTC](https://discuss.prosemirror.net/t/does-prosemirror-support-rtl-languages-editing/1318/2 "2018-05-09T08:24:55Z")

</div>

ProseMirror interferes a lot less with the browser’s built-in editing behavior than CodeMirror, for precisely this reason—browsers implement direction handling pretty well, and it’s really hard to do better in a library. So yes, just using CSS `direction` should just work. I should note that none of the developers are intimately familiar with RTL writing, so this hasn’t been rigorously tested yet and you might run into quirks. Please give it a try and let us know how it goes.

---

<div class="post-metadata">

### Author: ![martzoukos](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/martzoukos/32/635_2.png) [@martzoukos](https://discuss.prosemirror.net/u/martzoukos)
#### Post date: [May 9, 2018, 9:57am UTC](https://discuss.prosemirror.net/t/does-prosemirror-support-rtl-languages-editing/1318/3 "2018-05-09T09:57:32Z")

</div>

We will do and thank you very much for the promprt response–leaving presentational concerns to the browser and CSS is an idea that sounds solid.

Thank you!

---

<div class="post-metadata">

### Author: ![rezaervani](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/rezaervani/32/1773_2.png) [@rezaervani](https://discuss.prosemirror.net/u/rezaervani)
#### Post date: [November 4, 2020, 11:17am UTC](https://discuss.prosemirror.net/t/does-prosemirror-support-rtl-languages-editing/1318/4 "2020-11-04T11:17:51Z")

</div>

Is there any progress of this ?

Do prosemirror already support both RTL and LTR ?

Thank you

---

<div class="post-metadata">

### Author: ![marijn](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/marijn/32/15_2.png) [@marijn](https://discuss.prosemirror.net/u/marijn)
#### Post date: [November 4, 2020, 1:41pm UTC](https://discuss.prosemirror.net/t/does-prosemirror-support-rtl-languages-editing/1318/5 "2020-11-04T13:41:16Z")

</div>

> [@rezaervani](#):
>
> Is there any progress of this ?

What kind of progress are you waiting for? I stated earlier in the thread that it should be supported.

---

<div class="post-metadata">

### Author: ![rezaervani](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/rezaervani/32/1773_2.png) [@rezaervani](https://discuss.prosemirror.net/u/rezaervani)
#### Post date: [November 17, 2020, 10:56pm UTC](https://discuss.prosemirror.net/t/does-prosemirror-support-rtl-languages-editing/1318/6 "2020-11-17T22:56:14Z")

</div>

I am new in prosemirror. Is there any schema for both RTL and LTR that we can use ?

Thank you
