Alternatively, you can use the WidgetMessage: tm-new-tiddler 
<https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler>. The code is 
much shorter, but has the same effect:

<$button message="tm-new-tiddler" param="My New Tiddler">Create 
Tiddler!</$button>


On Tuesday, January 2, 2018 at 12:47:58 AM UTC+1, [email protected] wrote:
>
> Hi,
>
> You could try this code:
>
> <$button>
> <$action-createtiddler $basetitle="My New Tiddler" 
> $savetitle="!!tiddler-title" text="This is the Tiddler text."/>
> Create Tiddler!
> <$action-navigate $to={{!!tiddler-title}}/>
> </$button>
>
> The "$savetitle" attribute makes the title of the new tiddler available in 
> the field "tiddler-title", and the ActionNavigateWidget 
> <https://tiddlywiki.com/#ActionNavigateWidget> opens it. 
>
> Cheers,
>
> Stef
>

-- 
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 post to this group, send email to [email protected].
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/1f69ec47-8c35-4b5f-adac-7bad5016e786%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to