esm7 / obsidian-rtl

RTL support for Obsidian.md
MIT License
137 stars 11 forks source link

Wrong indentation in lists in Source/Live Preview modes #41

Open GuySuday opened 1 year ago

GuySuday commented 1 year ago

Scenario:

  1. Open a document in RTL
  2. Create a list
  3. Write something in LTR language (E.g. English) at the beginning of an item

Source mode/Live preview mode: image

Reading mode: image

While in LTR mode (all 3 modes): image

Nasty workaround: image

Thank you :)

Edit: this problem occurs on numbered lists and checkboxes as well Edit 2: Sometimes the behavior is not predicted image