mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-16 07:17:21 +00:00
Add search previews
This commit is contained in:
6
core/templates/SearchPreviewTemplate.tid
Normal file
6
core/templates/SearchPreviewTemplate.tid
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
title: SearchPreviewTemplate
|
||||||
|
|
||||||
|
<div class="title">
|
||||||
|
<<view title text>>
|
||||||
|
</div>
|
||||||
|
<<view text wikified>>
|
||||||
@@ -1,3 +1,22 @@
|
|||||||
title: $:/templates/SearchResultTemplate
|
title: $:/templates/SearchResultTemplate
|
||||||
|
|
||||||
<li><<view title link>></li>
|
{{tw-search-result{
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<<link throughField:title hover:SearchPreviewDropDownLocation qualifyHoverTitle:yes><
|
||||||
|
<<view title text>>
|
||||||
|
>>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
}}}
|
||||||
|
|
||||||
|
<<reveal state:SearchPreviewDropDownLocation type:popup position:right qualifyTiddlerTitles:yes><
|
||||||
|
|
||||||
|
<div class="tw-tiddler-frame" style="color: black; width: 400px;">
|
||||||
|
|
||||||
|
<<tiddler template:SearchPreviewTemplate>>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
>>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user