Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
303 stars 7 forks source link

Bullet-level direction control for bilingual databases #402

Open aasiaeet opened 4 years ago

aasiaeet commented 4 years ago

Describe the problem I'm using English (ltr) and Farsi (rtl) in Roam. Using the right2left style in roam/css will change the whole graph/website's style. What I need is a more local and simpler version of right2left that does the followings:

  1. Have a shortcut for changing the text direction from ltr to rtl and the other way. Ctrl + RShift/LShift does that when I'm editing a block but the change is not saved when I move to another block.
  2. The same shortcut should change the direction of roam-block-container, roam-block, and the corresponding bullet for all of the nested blocks. The same behavior is expected for the shortcut applied to the nested blocks, i.e., the direction of nested blocks can change arbitrarily.

Feature implementation Keeping track of nested blocks when bullets are on both the left and right sides of the page is hard. One potential solution is to have a symmetrical set of bullets like this figure: bilingual

roniyaniv commented 4 years ago

I think a good implementation example is Dropbox Paper. I love how they manage BiDi text.