mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 04:10:16 +01:00
This commit is contained in:
parent
a412018823
commit
58e97e0f07
6 changed files with 7 additions and 7 deletions
|
|
@ -391,7 +391,7 @@ export class Background {
|
|||
break;
|
||||
} else if (type === "open-search") {
|
||||
/// #if !MOBILE
|
||||
openGlobalSearch(protyle.app, `#${target.textContent}#`, !window.siyuan.ctrlIsPressed);
|
||||
openGlobalSearch(protyle.app, `#${target.textContent}#`, !window.siyuan.ctrlIsPressed, {method: 0});
|
||||
/// #else
|
||||
popSearch(protyle.app, {
|
||||
hasReplace: false,
|
||||
|
|
|
|||
|
|
@ -2375,7 +2375,7 @@ export class WYSIWYG {
|
|||
const tagElement = hasClosestByAttribute(event.target, "data-type", "tag");
|
||||
if (tagElement && !event.altKey) {
|
||||
/// #if !MOBILE
|
||||
openGlobalSearch(protyle.app, `#${tagElement.textContent}#`, !ctrlIsPressed);
|
||||
openGlobalSearch(protyle.app, `#${tagElement.textContent}#`, !ctrlIsPressed, {method: 0});
|
||||
hideElements(["dialog"]);
|
||||
/// #else
|
||||
popSearch(protyle.app, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue