Hi Andrew, > Hello again, wonderful tiddlywiki developers. I built an object frame > viewer and tagged it $:/tags/ViewTemplate and gave it the field > list-after:$:/core/ui/ViewTemplate/tags but now that I am testing it with > the new 5.1.10-prerelease, I'm finding that it isn't folding. I've been > studying the folding mechanism for hours and I'm still not figuring out > where I am going wrong. Any suggestions welcome. Here > <http://tiddlyviewer.tiddlyspot.com/> is my Tiddly Viewer. Thanks. >
Because that's how it's implemented (unfortunately?). The folding mechanism is implemented in a way where each ViewTemplate <https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ui/ViewTemplate/> has to explicitly wrap its contents in a RevealWidget <http://tiddlywiki.com#RevealWidget> for them to fold. So, use... <$reveal type="nomatch" state=<<folded-state>> text="hide" retain="yes" animate="yes"> <!-- your template goes here --> </$reveal> @Jeremy, can we please have folding defined in *$:/core/ui/ViewTemplate* rather than in every single tiddler? ...with those remaining visible having a field: tc-fold:no ...so as to not be folded, whereas *$:/core/ui/ViewTemplate/title* is the only exception to that rule. Best wishes, — tb -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/a85db15a-a059-4c4c-8b48-de085b514bfd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
