obsidian-rtl icon indicating copy to clipboard operation
obsidian-rtl copied to clipboard

Wrong direction of block-quote's line

Open GuySuday opened this issue 3 years ago • 4 comments

In RTL: image

In LTR: image

I would expect the block-quote's line to be on the right side on RTL.

Thank you :)

GuySuday avatar Oct 28 '22 09:10 GuySuday

@esm7 Take a look at this problem if you got time. Thank you.

srezasm avatar Mar 20 '23 13:03 srezasm

It makes sense for RTL, but now that we have the auto mode (which I assume should be the most common for most users), I wonder what should be the right behavior. Because if we set the line to be on the left or on the right depending on each line's direction, and some lines will be LTR and some RTL it will kill a block's "block" look...

esm7 avatar Mar 21 '23 08:03 esm7

Keep the default behavior as is for auto mode, but make it stick to the right for rtl mode.

srezasm avatar Mar 22 '23 03:03 srezasm

It makes sense for RTL, but now that we have the auto mode (which I assume should be the most common for most users), I wonder what should be the right behavior. Because if we set the line to be on the left or on the right depending on each line's direction, and some lines will be LTR and some RTL it will kill a block's "block" look...

Maybe take sort of "strong directionality" concept based on first block-quote line?

zoli avatar Mar 22 '23 21:03 zoli