Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/12774

Vanessadbcd62198a85
diff --git a/app/src/menus/index.ts b/app/src/menus/index.ts
index 3281609582..e9cd4f89a5 100644
--- a/app/src/menus/index.ts
+++ b/app/src/menus/index.ts
@@ -14,6 +14,7 @@ import {hasClosestByClassName, hasTopClosestByTag} from "../protyle/util/hasClos
import {App} from "../index";
import {Constants} from "../constants";
import {textMenu} from "./text";
+import {hideTooltip} from "../dialog/tooltip";
export class Menus {
public menu: Menu;
@@ -86,6 +87,7 @@ export class Menus {
event.stopPropagation();
break;
} else if (dataType && target.classList.contains("dock__item")) {
+ hideTooltip();
initDockMenu(target).popup({x: event.clientX, y: event.clientY});
event.stopPropagation();
break;