mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
improvements to the search spec help button
This commit is contained in:
@@ -10,10 +10,10 @@ const TPL = `
|
||||
<input type="text" class="form-control search-string">
|
||||
</td>
|
||||
<td class="button-column">
|
||||
<div class="dropdown">
|
||||
<div class="dropdown help-dropdown">
|
||||
<span class="bx bx-help-circle icon-action" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></span>
|
||||
<div class="dropdown-menu dropdown-menu-right p-4" style="width: 500px;">
|
||||
<strong>Search tips</strong> - also see <button class="btn btn-sm" type="button" data-help-page="Search">complete help on search</button>
|
||||
<strong>Search syntax</strong> - also see <button class="btn btn-sm" type="button" data-help-page="Search">complete help on search syntax</button>
|
||||
<p>
|
||||
<ul>
|
||||
<li>Just enter any text for full text search</li>
|
||||
@@ -64,6 +64,8 @@ export default class SearchString extends AbstractSearchOption {
|
||||
|
||||
this.$searchString.val(this.note.getLabelValue('searchString'));
|
||||
|
||||
utils.initHelpDropdown($option);
|
||||
|
||||
return $option;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user