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

Vanessa81fec86918d7
diff --git a/app/src/dialog/moveResize.ts b/app/src/dialog/moveResize.ts
index 90a22741ca..3b2bf661b3 100644
--- a/app/src/dialog/moveResize.ts
+++ b/app/src/dialog/moveResize.ts
@@ -3,6 +3,10 @@ import {Constants} from "../constants";
export const moveResize = (element: HTMLElement, afterCB?: (type: string) => void) => {
element.addEventListener("mousedown", (event: MouseEvent & { target: HTMLElement }) => {
+ // https://github.com/siyuan-note/siyuan/issues/8746
+ if (hasClosestByClassName(event.target, "protyle-util") && !element.classList.contains("protyle-util")) {
+ return;
+ }
let iconsElement = hasClosestByClassName(event.target, "resize__move");
let x: number;
let y: number;