You are creating 2 new tiddlers. New tiddler without tag or text but with 
focus on title. New tiddler1 with tag and text but not focus on title.

Try:
\define newtags() [[my-tag]]
\define newtext() my text
<$button class="tc-btn-invisible">{{$:/core/images/new-button}}
      <$action-sendmessage $message="tm-new-tiddler" tags=<<newtags>> 
text=<<newtext>> />
   </$button>

Transcluding the image not the button.

Birthe
lørdag den 6. februar 2021 kl. 15.34.09 UTC+1 skrev Jon:

> Hi,
>
> This creates a new tiddler with my-tag with 'my text' inserted:
>
> \define newtags() [[my-tag]]
> \define newtext() my text
> <$button class="tc-btn-invisible">{{$:/core/ui/Buttons/new-tiddler}} 
>       <$action-sendmessage $message="tm-new-tiddler" title=<<Title>> 
> tags=<<newtags>> text=<<newtext>> />
>    </$button>
>
> How can I get the focus on the title so it's highlighted?
>
> Thanks
> 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/eee647e7-4dac-4add-ad2c-bb89f3a6170an%40googlegroups.com.

Reply via email to