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/14156
Vanessa42d8868b249a
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex bbad162592..1e7ac130ec 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -722,9 +722,9 @@ export class WYSIWYG {}// table cell selectlet tableBlockElement: HTMLElement | false;- const targetCellElemet = hasClosestByTag(target, "TH") || hasClosestByTag(target, "TD");- if (targetCellElemet) {- target = targetCellElemet;+ const targetCellElement = hasClosestByTag(target, "TH") || hasClosestByTag(target, "TD");+ if (targetCellElement) {+ target = targetCellElement;}if (target.tagName === "TH" || target.tagName === "TD" || target.firstElementChild?.tagName === "TABLE" || target.classList.contains("table__resize") || target.classList.contains("table__select")) {tableBlockElement = hasClosestBlock(target);@@ -732,6 +732,9 @@ export class WYSIWYG {tableBlockElement.querySelector(".table__select").removeAttribute("style");window.siyuan.menus.menu.remove();hideElements(["toolbar"], protyle);+ if (target.classList.contains("table__select")) {+ target = document.elementFromPoint(event.clientX, event.clientY) as HTMLElement;+ }event.stopPropagation();}// 后续拖拽操作写在多选节点中