Bitcoin Forum

Other => Meta => Topic started by: 0x256 on September 29, 2019, 03:31:05 PM



Title: we need change code direction in RTL boards
Post by: 0x256 on September 29, 2019, 03:31:05 PM
why code element in RTL boards from right to left ?
most code syntax from left to right

Is there any logical reason to show code from right to left in  RTL local boards?

for example in arabic local board the code from right to left  https://i.ibb.co/G3FV0Hb/afaf.png (https://i.ibb.co/G3FV0Hb/afaf.png)


Title: Re: we need change code direction in RTL boards
Post by: o_e_l_e_o on September 30, 2019, 07:12:55 PM
I might be wrong, but including the code between the tags [­ltr] and [­/ltr] should do this for you.


Title: Re: we need change code direction in RTL boards
Post by: 0x256 on September 30, 2019, 07:56:10 PM
I might be wrong, but including the code between the tags [­ltr] and [­/ltr] should do this for you.
this does not solve the problem see here (https://bitcointalk.org/index.php?topic=5184555.msg52566184#msg52566184) (the second code)
because dir="rtl" in .post div change direction any element inside <div class="post" dir="rtl"></div>  to right


Title: Re: we need change code direction in RTL boards
Post by: o_e_l_e_o on September 30, 2019, 08:21:28 PM
So if I quote and preview that post from hugeblack, his second code includes [­left] and [/­left] tags. If I change those to [­ltr] and [/­ltr], it displays correctly, at least for me.


Using [­left] tags:
https://i.imgur.com/vZFYE0s.jpg (https://i.imgur.com/vZFYE0s.jpg)


Using [­ltr] tags:
https://i.imgur.com/4b2GFGV.jpg (https://i.imgur.com/4b2GFGV.jpg)