mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-05 03:07:00 +00:00
Text-slicer improvements
1. Switch from using the text field of lists for storing the associated filter to using the field `toc-list-filter` (to make it harder to accidentally parse the text of an ordinary tiddler as a filter) 2. Fix several bugs
This commit is contained in:
@@ -4,7 +4,7 @@ title: $:/plugins/tiddlywiki/text-slicer/templates/static/heading
|
||||
<$level$>
|
||||
<$view field="text"/>
|
||||
</$level$>
|
||||
<$list filter="[tag<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/static/tiddler" listItem="item"/>
|
||||
<$list filter="[tag<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/static/tiddler"/>
|
||||
\end
|
||||
|
||||
<$macrocall $name="body" level={{!!toc-heading-level}}/>
|
||||
|
||||
Reference in New Issue
Block a user