diff --git a/plugins/tiddlywiki/text-slicer/modules/slicer.js b/plugins/tiddlywiki/text-slicer/modules/slicer.js index 6987e3d03..d51d69031 100644 --- a/plugins/tiddlywiki/text-slicer/modules/slicer.js +++ b/plugins/tiddlywiki/text-slicer/modules/slicer.js @@ -175,7 +175,7 @@ Slicer.prototype.processNode = function(domNode) { this.parentStack.push({type: tagName, title: this.addTiddler({ "toc-type": "list", "toc-list-type": tagName, - "toc-list-filter": "[tag!has[draft.of]]", + "toc-list-filter": "[list!has[draft.of]]", text: "", title: title, list: [], diff --git a/plugins/tiddlywiki/text-slicer/ui/view-template-segment.tid b/plugins/tiddlywiki/text-slicer/ui/view-template-segment.tid index f32f7bb18..8f14e4454 100644 --- a/plugins/tiddlywiki/text-slicer/ui/view-template-segment.tid +++ b/plugins/tiddlywiki/text-slicer/ui/view-template-segment.tid @@ -1,6 +1,8 @@ title: $:/plugins/tiddlywiki/text-slicer/ui/view-template-segment tags: $:/tags/ViewTemplate +<$reveal type="nomatch" state=<> text="hide" retain="yes" animate="yes"> + <$reveal type="nomatch" state="!!toc-type" text="">
@@ -21,3 +23,4 @@ tags: $:/tags/ViewTemplate +