I would be glad to hear if there's a more elegant way, but I think you have
to make your own edit buttons and then apply templates accordingly:
<$navigator story="MySubStoryList" history="MySubHistoryList">
<$list filter="[tag[Microwiki]]" history="MySubHistoryList" >
<$set name="mystate" value={{{ [<currentTiddler>addprefix[$:/temp/]] }}} >
<div>
<$button set=<<mystate>> setTo="edit">Edit</$button>
<$button set=<<mystate>> setTo="">Show</$button>
<$reveal type=match text="edit" stateTitle=<<mystate>> stateField="text" >
<$transclude tiddler="$:/core/ui/EditTemplate"/>
</$reveal>
<$reveal type=nomatch text="edit" stateTitle=<<mystate>> stateField="text" >
<$transclude tiddler="$:/core/ui/ViewTemplate"/>
</$reveal>
</div>
</$set>
</$list>
<hr/>
</$navigator>
This immediately brings up new problems in terms of display, and you want
to make your own view and edit templates. With the edit template, for
instance, you probably want to edit the "title" field.
Good luck!
On Tuesday, October 8, 2019 at 5:20:35 AM UTC-7, Luis Gonzalez wrote:
>
> I'm trying to create a tiddler with substories. All tiddlers tagged with
> "Microwiki" must open in that tiddler.
>
> The code is:
>
> <$navigator story="MySubStoryList" history="MySubHistoryList">
>
>
> <$list filter="[tag[Microwiki]]" history="MySubHistoryList"
> template="$:/core/ui/ViewTemplate" editTemplate="$:/core/ui/EditTemplate">
> <div>
>
> <$transclude/>
> </div>
> </$list>
>
> <hr/>
>
> </$navigator>
>
>
> I want to edit that tiddlers inside this main one as the same way as the
> main tiddlywiki: it changes from view mode to edit mode in the same
> position. The problem is when I pick the edit icon the tiddler opens in
> edit mode under all tiddlers of the story but it keesp the original tiddler
> open in view mode above the story river.
>
>
> I cant imagine what is the way to do this.
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/8b4c1682-e1d5-44b8-9d45-ab70d69eab75%40googlegroups.com.