joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Right-to-left bullet list appears as left-to-right

Open ma-sadeghi opened this issue 2 years ago • 11 comments

Environment

Joplin version: 2.6.10 Platform: Linux OS specifics: Ubuntu 20.04

Steps to reproduce

  1. Create a RTL bullet list

Describe what you expected to happen

I expected the list to appear from right to left

What happened

image

ma-sadeghi avatar Feb 20 '22 11:02 ma-sadeghi

Could you show the markdown code if possible. How have you written it? Have you used the following tags?

<div dir="rtl">

</div>

mirchandani-mohnish avatar Feb 21 '22 17:02 mirchandani-mohnish

It seems to be working for me using the above method...

image

image

I have the same system specifics as yours as well as the same version.

mirchandani-mohnish avatar Feb 25 '22 08:02 mirchandani-mohnish

Could you show the markdown code if possible. How have you written it? Have you used the following tags?

<div dir="rtl">

</div>

Sorry for the late reply. No haven't used the dir=rtl directive, because it's supposed to work without it (see #4822).

ma-sadeghi avatar Mar 26 '22 00:03 ma-sadeghi

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Apr 25 '22 16:04 github-actions[bot]

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

No the issue is not fixed yet and needs the community's attention.

ma-sadeghi avatar Apr 27 '22 12:04 ma-sadeghi

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar May 28 '22 16:05 github-actions[bot]

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

This issue is not fixed yet.

haimn avatar Jun 02 '22 14:06 haimn

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jul 03 '22 16:07 github-actions[bot]

Still not fixed

haimn avatar Jul 03 '22 16:07 haimn

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Aug 04 '22 16:08 github-actions[bot]

Still not fixed

ma-sadeghi avatar Aug 05 '22 23:08 ma-sadeghi

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Sep 06 '22 16:09 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, feel free to create a new issue with up-to-date information.

github-actions[bot] avatar Sep 13 '22 16:09 github-actions[bot]

I had this issue and find CSS file that can fix this issue for RTL languages.(tested of Persian Only). (tested on Desktop, Win version) Its not my work. I found this file on here. @tajaddini work. You should copy "markdown.css" content and paste it on Joplin>Tools>Options>Appearance>Show Advanced Settings>Custom stylesheet for rendered Markdown After that just restart Joplin and see magic! (don't forget to stom Joplin from task manager on Win) It has some bugs on checkboxes but It's a good step for fixing that problem. Joplin 2.10.18 Win version 3

4 5

mojienjoyment avatar May 13 '23 19:05 mojienjoyment

I had this issue and find CSS file that can fix this issue for RTL languages.(tested of Persian Only). (tested on Desktop, Win version) Its not my work. I found this file on here. @tajaddini work. You should copy "markdown.css" content and paste it on Joplin>Tools>Options>Appearance>Show Advanced Settings>Custom stylesheet for rendered Markdown After that just restart Joplin and see magic! (don't forget to stom Joplin from task manager on Win) It has some bugs on checkboxes but It's a good step for fixing that problem. Joplin 2.10.18 Win version 3

4 5

i read your css file and the only importent line that makes it work with rtl is where it sets the body direction to rtl. i adjusted the code and build a small css file on my own

` ul:not(ul.jop-noMdConv){ direction:rtl; & li.md-checkbox.joplin-checkbox.maps-to-line{ position:relative; left:3em; & input[type=checkbox]{ margin-left:0.7em; margin-right:1.71em; } } } p.maps-to-line:has(>en,ltr)+*{ direction:ltr; & li.md-checkbox.joplin-checkbox.maps-to-line{ position:relative; left:-3em; & input[type=checkbox]{ margin-left:1.71em; margin-right:0.7em; } }

} `

basicly what it does is select all the lists and set them to direction rtl and adjust the position of the checkbox so it would not override the text. also i added option for rtl where u add html element before the line u want to make rtl and it render that line as rtl. the elements are <en></en> or <ltr></ltr> here is the results

image

Guyc1800 avatar Sep 30 '23 13:09 Guyc1800

@Guyc1800

Is your code supposed to work on WYSIWYG mode? Is there a way to fix this? Thanks

30 12 2023  10 54 _1 30 12 2023  10 54

Alexnoj avatar Dec 30 '23 08:12 Alexnoj

@Guyc1800

Is your code supposed to work on WYSIWYG mode? Is there a way to fix this? Thanks

30 12 2023  10 54 _1 30 12 2023  10 54

U used the ltr tag which make lists apper normal on the left side

Guyc1800 avatar Dec 30 '23 12:12 Guyc1800