1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-25 14:53:15 +00:00

Fix premature commit of link button

Whoops
This commit is contained in:
Jermolene 2016-04-29 19:19:18 +01:00
parent 7224fea961
commit 752a126cc4

View File

@ -6,20 +6,28 @@ title: $:/core/ui/EditorToolbar/link-dropdown
<$action-sendmessage <$action-sendmessage
$message="tm-edit-text-operation" $message="tm-edit-text-operation"
$param="make-link" $param="make-link"
text={{$:/temp/mytemp}} text={{$(linkTiddler)$}}
/> />
<$action-deletetiddler <$action-deletetiddler
$tiddler=<<dropdown-state>> $tiddler=<<dropdown-state>>
/> />
<$action-deletetiddler
$tiddler=<<searchTiddler>>
/>
<$action-deletetiddler
$tiddler=<<linkTiddler>>
/>
\end \end
\define body(config-title)
''<<lingo Hint>>'' ''<<lingo Hint>>''
<$set name="searchTiddler" value="$:/temp/search"> <$vars searchTiddler="""$config-title$/search""" linkTiddler="""$config-title$/link""">
<$edit-text tiddler=<<searchTiddler>> type="search" tag="input" focus="true" placeholder={{$:/language/Search/Search}} default=""/>
<$edit-text tiddler=<<searchTiddler>> type="search" tag="input" focus="true" placeholder={{$:/language/Search/Search}}/>
<$reveal tag="span" state=<<searchTiddler>> type="nomatch" text=""> <$reveal tag="span" state=<<searchTiddler>> type="nomatch" text="">
<$button class="tc-btn-invisible" style="width: auto; display: inline-block; background-colour: inherit;"> <$button class="tc-btn-invisible" style="width: auto; display: inline-block; background-colour: inherit;">
<$action-setfield $tiddler=<<searchTiddler>> text="" /> <$action-setfield $tiddler=<<searchTiddler>> text="" />
@ -29,7 +37,7 @@ title: $:/core/ui/EditorToolbar/link-dropdown
<$reveal tag="div" state=<<searchTiddler>> type="nomatch" text=""> <$reveal tag="div" state=<<searchTiddler>> type="nomatch" text="">
<$linkcatcher actions=<<link-actions>> to="$:/temp/mytemp"> <$linkcatcher actions=<<link-actions>> to=<<linkTiddler>>>
{{$:/core/ui/SearchResults}} {{$:/core/ui/SearchResults}}
@ -37,4 +45,8 @@ title: $:/core/ui/EditorToolbar/link-dropdown
</$reveal> </$reveal>
</$set> </$vars>
\end
<$macrocall $name="body" config-title=<<qualify "$:/state/Link/">>/>