Yes! This is what I was thinking of.
Please refer to this tweet for instructions. Works on mobile too!
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
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:
- CMD + left arrow = Home (move cursor to start of block)
- CMD + right arrow = End (move cursor to end of block)
- OPT + left arrow = move cursor one word backwards
- 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.:
- CMD + left arrow = End (move cursor to end of block)
- CMD + right arrow = Home (move cursor to start of block)
- OPT + left arrow = move cursor one word forwards
- OPT + right arrow = move cursor one word backwards
@ahangarha , I would be happy to tip money to have this implemented
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.