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/17002
Vanessafba386be719c
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex f459159d70..a086f9e9c1 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -2252,7 +2252,7 @@ export const tableMenu = (protyle: IProtyle, nodeElement: Element, cellElement:(btnsElement[1] as HTMLButtonElement).click();});inputElement.focus();- inputElement.value = nodeElement.querySelector("caption")?.innerHTML || "";+ inputElement.value = nodeElement.querySelector("caption")?.textContent || "";btnsElement[0].addEventListener("click", () => {dialog.destroy();});@@ -2267,7 +2267,7 @@ export const tableMenu = (protyle: IProtyle, nodeElement: Element, cellElement:} else {nodeElement.querySelector("table").insertAdjacentHTML("afterbegin", html);}- nodeElement.setAttribute("caption", Lute.EscapeHTMLStr(`<caption${location === "bottom" ? "caption-side: bottom;" : ""}>` + Lute.EscapeHTMLStr(title) + `</caption>`));+ nodeElement.setAttribute("caption", Lute.EscapeHTMLStr(html));} else {if (captionElement) {captionElement.remove();