This commit is contained in:
Vanessa 2024-11-12 17:29:50 +08:00
parent a412018823
commit 58e97e0f07
6 changed files with 7 additions and 7 deletions

View file

@ -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,

View file

@ -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, {