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