Skip to content

RTL: Selection is wrong, Markdown confuses RTL detection #2457

@ajmandourah

Description

@ajmandourah
  1. In Linux. RTL is not working as it should be. In comparison with windows version. Starting typing in Arabic will lead the text starting from the right (correct behavior) but starting with a "-" or like "##" will lead to this first symbol to be placed at left instead.
    Ex.
    Expected: عنوان ##
    Bugged : ## عنوان

  2. Mixing Arabic and English will lead to an issue while selecting the whole line. It basicly select an empty space in the left (while it actually the whole line is selected, can confirm by pressing backspace as the whole line deleted). This is confusing.

3 RTL in markdown doesn't work. (fixed in win and Mac)

manjaro vs windows
https://imgur.com/Khcfvl1

Reproduced

Reproduced by using Simplenote in any Linux distro

Where did you see the bug

Using Manjaro freshly installed.
Simplenote 2.0.0

a probably useful link using RLM and LRM
https://www.w3.org/TR/WCAG20-TECHS/H34.html
adding toggle button will probably satisfy the most
BoostIO/BoostNote-Legacy#3282

UPDATE:

After checking out it seems like I had an older version in windows. i tried up to version 1.21.1 and the arabic text appears right.
It seems like version 2.0.0 is bugged even in windows as texts appears strangly. check the image https://imgur.com/Khcfvl1

on right an older version and on the left version 2.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    [feature] editorAnything related to the editor.bugSomething isn't workingi18nAll things Internationalization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions