Hi all,
I'm trying to do some drag n' drop nonsense and I'd like to be able to drag
a list item and put it at the very end of the list. This is the macro I've
got:
\define drop-at-end()
<$action-listops $tiddler="$:/StoryList" $subfilter=
"+[remove<actionTiddler>]"/>
<$action-listops $tiddler="$:/StoryList" $subfilter=
"+[append<actionTiddler>]"/>
\end
This works great if the actionTiddler has no whitespace in it (something
like "NewTiddler"). But if it is something like "New Tiddler", then this
code will add "New" and "Tiddler" to the end of the list. This seems to be
because both remove and append take lists as input.
I've tried to find a way to add [[...]] to the variable, but without
success. And I haven't had a whole lot of success understanding the
wikitext documentation. Sometimes I see syntax like {{{...}}} or $...$ or
"..." or even stranger stuff. But I can't figure out what these kinds of
syntax do? Could someone explain these things to me? Or point me to some
documentation that will explain them?
Best wishes,
Adam
--
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 post to this group, send email to [email protected].
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/ae229820-cfed-4d00-957b-fd0f89f00901%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.