improvements to the search spec help button

This commit is contained in:
zadam
2021-01-26 14:44:53 +01:00
parent 80354d09fb
commit b936a63db3
4 changed files with 32 additions and 8 deletions

View File

@@ -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;
}