Am Montag, 17. November 2014 15:39:25 UTC+1 schrieb Tobias Beer: > > Hi Stephan, > > Mhhh, how I am begging for some JavaScript. >
I'm wondering why this does not work: \define buttontags(tags) <$fieldmangler><$list filter="$tags$" variable= "setThis"><$button><$list filter="$tags$ -[title<setThis>]" variable= "clearThis"><$action-sendmessage $message="tm-remove-tag" $param=<<clearThis >>/></$list><$action-sendmessage $message="tm-add-tag" $param=<<setThis>> /><<setThis>></$button></$list></$fieldmangler> <<buttontags "[[1]] [[2]] [[3]]">> The output of it, is this: <$fieldmangler><$button><$action-sendmessage $message="tm-remove-tag" $param=2/><$action-sendmessage $message="tm-remove-tag" $param=3/><$action-sendmessage $message="tm-add-tag" $param=1/>1</$button><$button><$action-sendmessage $message="tm-remove-tag" $param=1/><$action-sendmessage $message="tm-remove-tag" $param=3/><$action-sendmessage $message="tm-add-tag" $param=2/>2</$button><$button><$action-sendmessage $message="tm-remove-tag" $param=1/><$action-sendmessage $message="tm-remove-tag" $param=2/><$action-sendmessage $message="tm-add-tag" $param=3/>3</$button></$fieldmangler> and that works -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.