Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/7190

Vanessaa618d53d5fbf
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts
index e443df9a14..093515704e 100644
--- a/app/src/menus/protyle.ts
+++ b/app/src/menus/protyle.ts
@@ -460,7 +460,7 @@ export const zoomOut = (protyle: IProtyle, id: string, focusId?: string, isPushB
pushBack();
}
} else if (protyle.breadcrumb) {
- const exitFocusElement = protyle.breadcrumb.element.parentElement.querySelector('[data-type="exit-focus"]');
+ const exitFocusElement = protyle.breadcrumb.element.parentElement.querySelector('[data-type="exit-focus"]');
if (id === protyle.block.rootID) {
exitFocusElement.classList.add("fn__none");
exitFocusElement.nextElementSibling.classList.add("fn__none");
@@ -1435,6 +1435,9 @@ export const setFold = (protyle: IProtyle, nodeElement: Element, isOpen?: boolea
focusBlock(nodeElement, undefined, false);
}
}
+ nodeElement.querySelectorAll(".img--select").forEach((item) => {
+ item.classList.remove("img--select");
+ });
}
const id = nodeElement.getAttribute("data-node-id");
if (nodeElement.getAttribute("data-type") === "NodeHeading") {