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 [email protected] <javascript:>.
> 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1681b6da-4c47-4f39-b1d4-c5c3099b8391%40googlegroups.com.