An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/14905
Danielfbe6b75696e4
diff --git a/app/src/assets/scss/component/_tooltips.scss b/app/src/assets/scss/component/_tooltips.scssindex d9bb2dfdd6..baf14fc31d 100644--- a/app/src/assets/scss/component/_tooltips.scss+++ b/app/src/assets/scss/component/_tooltips.scss@@ -11,6 +11,7 @@background-color: var(--b3-tooltips-background);border-radius: var(--b3-border-radius);line-height: 17px;+ width: max-content;max-width: 320px;animation-name: zoomIn;animation-duration: 150ms;diff --git a/app/src/block/popover.ts b/app/src/block/popover.tsindex 21263a5be2..cfa06cf8c0 100644--- a/app/src/block/popover.ts+++ b/app/src/block/popover.ts@@ -207,11 +207,11 @@ export const initBlockPopover = (app: App) => {}} else if (!aElement) {const tipElement = hasClosestByAttribute(event.target, "id", "tooltip", true);- if (!tipElement || (- tipElement && (tipElement.clientHeight >= tipElement.scrollHeight && tipElement.clientWidth >= tipElement.scrollWidth)- )) {+ if (!tipElement) {hideTooltip();}+ // 鼠标仍在 #tooltip 上时不主动隐藏,避免 showTooltip ↔ hideTooltip 循环闪烁;+ // 待鼠标移到非 tooltip 处再由上面的分支隐藏}if (window.siyuan.config.editor.floatWindowMode === 1 || window.siyuan.shiftIsPressed) {clearTimeout(timeoutHide);