An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: https://github.com/siyuan-note/siyuan/issues/7536
Vanessaafc792b476b5
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.tsindex 136645371f..8e2fc2c54a 100644--- a/app/src/protyle/util/editorCommonEvent.ts+++ b/app/src/protyle/util/editorCommonEvent.ts@@ -792,7 +792,6 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {hideElements(["gutter"], protyle);const targetClass = targetElement.className.split(" ");- targetElement.classList.remove("dragover__bottom", "dragover__top", "dragover__left", "dragover__right", "protyle-wysiwyg--select");if (targetElement.className.indexOf("dragover__") === -1) {// 拖拽到属性试图内transaction(protyle, [{@@ -808,6 +807,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {}]);return;}+ targetElement.classList.remove("dragover__bottom", "dragover__top", "dragover__left", "dragover__right", "protyle-wysiwyg--select");if (targetElement.parentElement.getAttribute("data-type") === "NodeSuperBlock" &&targetElement.parentElement.getAttribute("data-sb-layout") === "col") {if (targetClass.includes("dragover__left") || targetClass.includes("dragover__right")) {diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.tsindex a6f4d25312..6656a913be 100644--- a/app/src/util/globalShortcut.ts+++ b/app/src/util/globalShortcut.ts@@ -233,7 +233,7 @@ export const globalShortcut = () => {}const target = event.target as Element;- const blockElement = hasClosestBlock(target);+ const blockElement = hasClosestByClassName(target, "table");if (blockElement && blockElement.style.cursor !== "col-resize" && !hasClosestByClassName(blockElement, "protyle-wysiwyg__embed")) {const cellElement = (hasClosestByMatchTag(target, "TH") || hasClosestByMatchTag(target, "TD")) as HTMLTableCellElement;if (cellElement) {