Added to TW-Scripts.

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/6977e392-f7f5-41e1-909d-af5811c7639b%40googlegroups.com.

Reply via email to