I only have access to a phone at the moment and your editor gets in the way.
Go through your code stepwise in the popup tool and make sure you aren't
accidentally settings currentTiddler to a different variable.
As long as currentTiddler points to the popup tool tiddler this will work:
[subfilter{!!em-itemfilter}]
On Saturday, July 18, 2020 at 11:19:57 PM UTC+2, Mat wrote:
>
> I'm afraid I don't get [subfilter{!!em-itemfilter}] to work.
> In http://editormagic2.tiddlyspot.com/
> <http://editormagicny3.tiddlyspot.com/> there are now two title pickers,
> for testing: the regular and one with em-trigger XX (and em-triggerend YY)
>
> The regular one uses [subfilter{!!em-itemfilter}]
> where that field is [all[tiddlers]prefix<em-fragment>]
>
> The XX version uses [subfilter<em-itemfilter>]
> where the variable is defined in the popup as <$wikify name=em-itemfilter
> text={{!!em-itemfilter}}>
>
> ...but neither works. It seems that once it gets into the subfilter it
> becomes [all[tiddlers]prefix] i.e the <em-fragment> is lost.
>
> You write:
>
>> You may have to make sure the em-fragment variable is defined in the
>> detection code as well.
>>
>
> ...but that can't be a problem for the above, right?, since reinstating
> the filter from the field into the code is how it was previously when the
> filter worked.
>
> When you have time, please take a look - no rush, of course. Maybe I am
> using subfilter the wrong way but I don't think so...
>
> Thank you!
>
> <:-)
>
>
>
--
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/2798fdc0-aaeb-429a-8d20-ba8c0bde4929o%40googlegroups.com.