Does anyone have any suggestions on how I could write a template for my format buttons where the highlighted word button would be what would change?
[[$:/plugin/ajh/format/button]]:
\define lingo-base() $:/language/format/
<$button message="tm-button" tooltip=<<lingo hint##button>> aria-label=<<lingo caption##button>> class=<<tv-config-toolbar-class>>>
<$action-setfield $tiddler="$:/language/format/notify" $field="text" $value=<<lingo notice##button>>/>
<$action-sendmessage $message="tm-notify" $param="$:/language/format/notify"/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
<span class="tc-format-small">
B</span>
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text">
<<lingo caption##button>>
</span>
</$list>
</$button>
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/401a8d57-c4b3-4c2e-bd79-0b09fd092246%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Awesome!(Did you get a chance to check out my tab source button solution in the other thread? https://groups.google.com/d/msg/tiddlywiki/UAHlzJrZB5c/1aAswfeaHAAJ )
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/94bfee94-1351-4161-9e5a-5af9dece6bef%40googlegroups.com.
Hmmmm. Is there a leading or trailing space in the dictionary tiddler causing problems? Does the tooltip param have quotation marks that might be causing problems?
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4aaf8257-fda0-450d-b1ae-2eaa5eeda65b%40googlegroups.com.