Hey Joe, something like this? \define folding-editor(tiddler) <$set name="state" value={{{ [[$:/state/folding-editor/]addsuffix <currentTiddler>addsuffix<__tiddler__>] }}}> <$reveal stateTitle=<<state>> type="nomatch" text="edit"> <span style="float: right;"> <$button class="tc-btn-invisible" setTitle=<<state>> setTo="edit">{{$:/core/ images/edit-button}}</$button> </span> <$list filter="[<__tiddler__>is[missing]] [<__tiddler__>!is[missing]!has[text]]"> <<__tiddler__>> </$list> <$transclude tiddler=<<__tiddler__>> mode="block"/> </$reveal> <$reveal stateTitle=<<state>> type="match" text="edit"> <span style="float: right;"> <$button class="tc-btn-invisible" setTitle=<<state>> setTo="">{{$:/core/ images/done-button}}</$button> </span> <$edit-text class="tc-edit-texteditor" tiddler=<<__tiddler__>> tag="textarea" default="" placeholder={{$:/language/EditTemplate/Body/ Placeholder}}/> </$reveal> </$set> \end
> In my blog > https://joearms.github.io/#2018-12-26%20Fun%20with%20the%20TiddlyWiki > > I have a code fragment like this: > > {{ChandlerButtons}} > {{ChandlerNow}} > {{ChandlerLater}} > {{ChandlerDone}} > > > I rather liked this. > > Is there a "folding editor" macro - could I write something like: > > <<folding-editor "ChandlerButtons">> > <<folding-editor "ChandlerNow">> > <<folding-editor "ChandlerLater">> > <<folding-editor "ChandlerDone">> > > Which presents me with a clickable fold to edit the underlying tiddler. > > This would be very nice to have :-) > > Cheers > > /Joe > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6574020d-82f0-4de6-860e-fea80e2051ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.