Thanks Birthe,
much appreciated
Jon
On Saturday, 6 February 2021 at 16:28:12 UTC [email protected] wrote:
>
> 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/4c8b336e-a301-4ac6-952d-77b97e876f48n%40googlegroups.com.