Use match operator instead of prefix

Fixes #4407
This commit is contained in:
Jeremy Ruston
2020-01-05 13:54:06 +00:00
parent f59d044a8c
commit 6732b3c0d9
10 changed files with 38 additions and 38 deletions

View File

@@ -7,12 +7,12 @@ $then$
\end
\define include-component(type)
<<if "[{!!toc-type}prefix[$type$]]" """
<<if "[{!!toc-type}match[$type$]]" """
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/$type$" mode="block"/>
""">>
\end
<$list filter="[<tv-show-toolbar>prefix[yes]]" variable="hasToolbar">
<$list filter="[<tv-show-toolbar>match[yes]]" variable="hasToolbar">
{{||$:/plugins/tiddlywiki/text-slicer/ui/tiddler/toolbar}}
</$list>