An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/11019
Vanessa4598025f2b93
diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.tsindex 9287ed6913..476662789e 100644--- a/app/src/protyle/render/av/render.ts+++ b/app/src/protyle/render/av/render.ts@@ -394,7 +394,7 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {if (operation.action === "setAttrViewColWidth") {Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-av-id="${operation.avID}"]`)).forEach((item: HTMLElement) => {const cellElement = item.querySelector(`.av__cell[data-col-id="${operation.id}"]`) as HTMLElement;- if (!cellElement || cellElement.style.width === operation.data) {+ if (!cellElement || cellElement.style.width === operation.data || item.getAttribute("custom-sy-av-view") !== operation.keyID) {return;}item.querySelectorAll(".av__row").forEach(rowItem => {diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 374b06f6dd..6b19ec5abe 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -439,18 +439,21 @@ export class WYSIWYG {if (!newWidth || newWidth === oldWidth) {return;}+ const viewId = nodeElement.getAttribute("custom-sy-av-view");transaction(protyle, [{action: "setAttrViewColWidth",id: dragColId,avID: avId,data: newWidth + "px",- blockID+ blockID,+ keyID: viewId // 仅前端使用,用于推送时不影响其他视图 https://github.com/siyuan-note/siyuan/issues/11019}], [{action: "setAttrViewColWidth",id: dragColId,avID: avId,data: oldWidth + "px",- blockID+ blockID,+ keyID: viewId}]);};this.preventClick = true;