[DONE by Plugin] Right to Left Language Support

Yes! This is what I was thinking of.

Please refer to this tweet for instructions. Works on mobile too!

https://twitter.com/hkgnp/status/1608302846486740992

2 Likes

I have created logseq-bidi plugin, which lets users add both RTL and LTR text in logseq.

I appreciate using it and giving feedback. I hope this plugin help us to come to a robust implementation that can eventually get merged in Logseq core.


CC: @hkgnp

1 Like

Hi @ahangarha, adding small feedback about the BIDI plugin.

Different behaviour in Mac between RTL and LTR, when using CMD + left/right and OPT + left/right

The correct behaviour is when the block is LTR:

  1. CMD + left arrow = Home (move cursor to start of block)
  2. CMD + right arrow = End (move cursor to end of block)
  3. OPT + left arrow = move cursor one word backwards
  4. OPT + right arrow = move cursor one word forwards

However, when the block is in RTL mode, this doesn’t work.

Ideally, this will be implemented similarly to the LTR behaviour, but with the arrows switched, i.e.:

  1. CMD + left arrow = End (move cursor to end of block)
  2. CMD + right arrow = Home (move cursor to start of block)
  3. OPT + left arrow = move cursor one word forwards
  4. OPT + right arrow = move cursor one word backwards

@ahangarha , I would be happy to tip money to have this implemented

1 Like

Thanks for your feedback.

I just could verify the issue on a Mac system but I need to be able to find a Mac device for a day to be able to make the fix.

1 Like

Hey @ahangarha , is there someway I can help with advancing this issue?