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/17751

Vanessa77f12e3f99eb
diff --git a/app/src/boot/globalEvent/mousemove.ts b/app/src/boot/globalEvent/mousemove.ts
index f7f787b7b2..43d2c5f0b2 100644
--- a/app/src/boot/globalEvent/mousemove.ts
+++ b/app/src/boot/globalEvent/mousemove.ts
@@ -168,7 +168,7 @@ export const windowMouseMove = (event: MouseEvent, mouseIsEnter: boolean) => {
if (eventPath0 && eventPath0.nodeType !== 3 && (
eventPath0.classList.contains("li") ||
eventPath0.classList.contains("list") ||
- (eventPath0.classList.contains("protyle-action") && eventPath0.getAttribute("data-type") === "NodeListItem")
+ (eventPath0.classList.contains("protyle-action") && eventPath0.parentElement.getAttribute("data-type") === "NodeListItem")
)) {
// 光标在列表下部应显示右侧的元素,而不是列表本身
const targetBlockElement = getRightBlock(eventPath0, eventPath0.getBoundingClientRect().left + 1, event.clientY);