Ah, timely introduced in 5.1.20! Maybe even thanks to you? :-)
Unfortunately I don't think I'll be able to use it for lack of enclosing
characters. The idea is to set focus on a field in the edit view but
<$linkcatcher actions=""" ...
<$action-sendmessage $message="tm-focus-selector"
$param="[data-tiddler-title="Draft of 'aaa'"] ... "
/> """>
...i.e outer enclosure is """ , and because the target is a Draft tiddler,
the single quote (') is already taken... so this means there is only single
double quote (") left for both of the $param and the data-tiddler-title
attribute. The data-tiddler-title even needs enclosure for e.g {{!!title}},
i.e data-tiddler-title="{{!!title}}".
In my attempts I discovered drafts have a *!!draft.title* field. But
apparently this has the *same* value as !!title, i.e the title of the
not-draft. Is this really correct? I can understand why !!draft.*of* has
the name of the original tiddler but not why !!draft.*title* would have it.
(Is it a bug?)
Anybody has any ideas?
<:-)
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/tiddlywikidev/5cba6848-9cb8-4a72-a57d-18116638813c%40googlegroups.com.