Hi Jon, if you don't want the draft, perhaps the action-createtiddler widget
<https://tiddlywiki.com/#ActionCreateTiddlerWidget> is what you're looking
for, rather than the tm-new-tiddler message?
Best,
Chris
On Sunday, August 1, 2021 at 11:02:42 AM UTC-4 Jon wrote:
> Hi,
>
> I have this to create a new tiddler from a button with the current date as
> the title:
>
> \define newtags() [[log]]
> <$wikify name="Title" text="""<<now "0DD/0MM/YY">>""">
>
> <$button class="tc-btn-invisible">{{$:/core/ui/Buttons/new-tiddler}}
>
> <$action-sendmessage $message="tm-new-tiddler" title=<<Title>>
> tags=<<newtags>> text=<<newtext>> />
> </$button>
>
> It works fine but it also creates an unwanted draft tiddler as well.
>
> Any ideas what's wrong with it?
>
> Regards
> Jon
>
--
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/7008777c-1e18-4611-b267-a30a38580778n%40googlegroups.com.