Thanks Eric! Will try it out this morning. Blessings. On Thursday, November 5, 2020 at 11:26:05 PM UTC-6 Eric Shulman wrote:
> Updates: > * added $navigator and $action-navigate widgets to make "scroll into view" > work > * remove the viewed tiddler from the StoryList before opening for edit > (prevents display of two instances of the same tiddler!) > > \define showModal(tid) > <$button> open modal: <$text text="$tid$" /> > <$action-setfield $tiddler="$:/temp/modal/$tid$" > subtitle="$tid$" > text="{{$tid$}}" > footer=""" > <$button message="tm-close-tiddler"> close > <$action-deletetiddler $tiddler="$:/temp/modal/$tid$"/> > </$button> > <$button message="tm-close-tiddler"> view > <$navigator> > <$action-listops $tiddler="$:/StoryList" > $subfilter="[[$tid$]]" /> > <$action-navigate $to="$tid$" $scroll="yes"/> > <$action-deletetiddler $tiddler="$:/temp/modal/$tid$"/> > </$navigator> > </$button> > <$button message="tm-close-tiddler"> edit > <$navigator> > <$action-sendmessage $message="tm-edit-tiddler" $param="$tid$" > /> > <$action-listops $tiddler="$:/StoryList" > $subfilter="-[[$tid$]] [[Draft of '$tid$']]" /> > <$action-navigate $to="Draft of '$tid$'" $scroll="yes"/> > <$action-deletetiddler $tiddler="$:/temp/modal/$tid$"/> > </$navigator> > </$button> > """ /> > <$action-sendmessage $message="tm-modal" $param="$:/temp/modal/$tid$" /> > </$button> > \end > > enjoy, > -e > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ecf274bc-d6e4-45e5-b761-c0e7bb244dc7n%40googlegroups.com.