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/15189
Vanessaa65e9e3c8a96
diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.tsindex a2bd293594..0b84e26392 100644--- a/app/src/protyle/render/av/render.ts+++ b/app/src/protyle/render/av/render.ts@@ -514,14 +514,20 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {});} else if (operation.action === "setAttrViewShowIcon") {Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-av-id="${operation.avID}"]`)).forEach((item: HTMLElement) => {- item.querySelectorAll('.av__cell[data-dtype="block"] .b3-menu__avemoji, .av__cell[data-dtype="relation"] .b3-menu__avemoji').forEach(item => {+ item.querySelectorAll('.av__cell[data-dtype="block"] .b3-menu__avemoji, .av__cell[data-dtype="relation"] .b3-menu__avemoji').forEach(cellItem => {if (operation.data) {- item.classList.remove("fn__none");+ cellItem.classList.remove("fn__none");} else {- item.classList.add("fn__none");+ cellItem.classList.add("fn__none");}});});+ } else if (operation.action === "setAttrViewColWrap") {+ Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-av-id="${operation.avID}"]`)).forEach((item: HTMLElement) => {+ item.querySelectorAll(`.av__cell[data-col-id="${operation.id}"],.av__cell[data-field-id="${operation.id}"]`).forEach(cellItem => {+ cellItem.setAttribute("data-wrap", operation.data.toString());+ });+ });} else {// 修改表格名 avID 传入到 id 上了 https://github.com/siyuan-note/siyuan/issues/12724const avID = operation.action === "setAttrViewName" ? operation.id : operation.avID;