1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-26 22:28:18 +00:00

Text-Slicer: Support folding and fix bug with filter for retrieving list contents

This commit is contained in:
Jermolene 2015-09-07 17:01:11 +01:00
parent 76c12a9ecc
commit 026c84197f
2 changed files with 4 additions and 1 deletions

View File

@ -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: [],

View File

@ -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>