mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-09 20:26:39 +00:00
Text-Slicer: Support folding and fix bug with filter for retrieving list contents
This commit is contained in:
parent
76c12a9ecc
commit
026c84197f
@ -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<currentTiddler>!has[draft.of]]",
|
||||
"toc-list-filter": "[list<currentTiddler>!has[draft.of]]",
|
||||
text: "",
|
||||
title: title,
|
||||
list: [],
|
||||
|
@ -1,6 +1,8 @@
|
||||
title: $:/plugins/tiddlywiki/text-slicer/ui/view-template-segment
|
||||
tags: $:/tags/ViewTemplate
|
||||
|
||||
<$reveal type="nomatch" state=<<folded-state>> text="hide" retain="yes" animate="yes">
|
||||
|
||||
<$reveal type="nomatch" state="!!toc-type" text="">
|
||||
|
||||
<div class="tc-view-template-document-tiddler-heading">
|
||||
@ -21,3 +23,4 @@ tags: $:/tags/ViewTemplate
|
||||
|
||||
</$reveal>
|
||||
|
||||
</$reveal>
|
||||
|
Loading…
x
Reference in New Issue
Block a user