1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-03-21 02:46:55 +00:00

Add search previews

This commit is contained in:
Jeremy Ruston 2012-11-06 14:12:09 +00:00
parent c58903f865
commit 2b4d1bfd18
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,6 @@
title: SearchPreviewTemplate
<div class="title">
<<view title text>>
</div>
<<view text wikified>>

View File

@ -1,3 +1,22 @@
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>
>>