Hi Mohammad

Perhaps we should consider adding a mechanism along these lines to the core to 
allow tiddlers to be selectively written in RTL. It would need some more work; 
for example, a means of respecting the RTL setting of transcluded text might be 
useful.

Best wishes

Jeremy

> On 20 Mar 2020, at 16:13, Mohammad <[email protected]> wrote:
> 
> WOW!!
> This is absolutely amazing and is very good news for all who uses 
> right-to-left languages like
> 
> Persian, Arabic, Hebrew, Azeri, Kurdish, Urdu, Aramaic, ...
> 
> I tested this in TW 5.1.22p and it works like a charm.
> 
> One more question:
> 
> In RTL mode, it would be great if when edit tiddler
> Have title in RTL
> possibility to have caption or other fields in RTL
> I also added a little css (as below) to show the tiddler body in RTL when 
> view it
> 
> .tc-tiddler-frame.tc-tagged-rtl .tc-tiddler-body{
> direction: rtl;
> }
> 
> 
> 
> --Mohammad
> 
> On Friday, March 20, 2020 at 3:39:47 PM UTC+3:30, Jeremy Ruston wrote:
> Hi Ittay
> 
>> The optimal thing for me would be to have a toolbar button (to toggle the 
>> tag, or something else)
> 
> Create a tiddler with the following fields:
> 
> title: $:/core/ui/EditorToolbar/rtl
> tags: $:/tags/EditorToolbar
> icon: $:/core/images/right-arrow
> caption: RTL
> description: Toggle Right To Left
> condition: [<targetTiddler>!has[type]] 
> [<targetTiddler>type[text/vnd.tiddlywiki]]
> 
> And the following text:
> 
> <$list filter="[<targetTiddler>tag[rtl]]" variable="ignore" emptyMessage="""
> <$action-listops $tiddler=<<targetTiddler>> $tags="+rtl"/>
> """>
> <$action-listops $tiddler=<<targetTiddler>> $tags="-rtl"/>
> </$list>
> 
>> And wouldn't the styling you suggested change the text editor to always be 
>> RTL? I want it to be RTL only when a tiddler is (tagged as) RTL. 
> 
> The selector I’ve used includes .tc-tagged-rtl so that it only applies to 
> tiddlers with the tag “rtl”.
> 
> Best wishes
> 
> Jeremy.
> 
>> 
>> Thanks,
>> Ittay 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddl...@ <>googlegroups.com <http://googlegroups.com/>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/CAP972tE%2BJSiRg84On_Y20hri6nokBkUsOABfSQ2RrxqUZSpjgg%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/CAP972tE%2BJSiRg84On_Y20hri6nokBkUsOABfSQ2RrxqUZSpjgg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/1681b6da-4c47-4f39-b1d4-c5c3099b8391%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/1681b6da-4c47-4f39-b1d4-c5c3099b8391%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7E294D83-158C-4B09-A99B-805F2CBCAF6D%40gmail.com.

Reply via email to