RTL Text: Cannot Select First and/or Last Character [test in v 1.10.3]

Steps to reproduce

  1. Insert RTL text.

    أوه فيه قسم للعرب
    
    سلام دوستان
    
    ياخشىمۇسىز
    

    Arabic, Persian, Uyghur (China), etc.

  2. Try selecting the first or last character in any RTL line.

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

The cursor and text selection should include all characters normally.

Selecting the first or last character in an RTL line should behave the same as LTR text.

Actual result

The selection “skips” the first and last position.

Test in v 1.10.3 Sandbox Vault:

20251118_184420

Environment

SYSTEM INFO:
	Obsidian version: v1.10.3
	Installer version: v1.10.3
	Operating system: Windows 11 Home China 10.0.22631
	Login status: not logged in
	Language: zh
	Insider build toggle: off
	Live preview: on
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 0
	Plugins enabled: 0

Additional information

May be related: RTL text : First character selection bug

1 Like

Hi.

Possibly this / related to this: Incorrect Cursor Placement in RTL Text (Regression in v1.10.3) - #7 by WhiteNoise