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/pull/15178
Vanessa3f65251dfecb
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.tsindex 9b9677c8e2..39c476c9b1 100644--- a/app/src/protyle/wysiwyg/transaction.ts+++ b/app/src/protyle/wysiwyg/transaction.ts@@ -622,6 +622,14 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:}});if (data["data-av-type"]) {+ // https://github.com/siyuan-note/siyuan/pull/15178#discussion_r2173842215+ const oldAvType = item.getAttribute("data-av-type");+ const containerElement = item.querySelector(".av__container") as HTMLElement;+ if (containerElement && data["data-av-type"] === "table" && oldAvType === "gallery") {+ containerElement.style.overflow = "inherit";+ } else if (containerElement && data["data-av-type"] === "gallery" && oldAvType === "table") {+ containerElement.style.overflow = "";+ }item.setAttribute("data-av-type", data["data-av-type"]);}const attrElements = item.querySelectorAll(".protyle-attr");