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/13667
Vanessa4ed38f2f2be0
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex 49ace8eab1..91a0aa9402 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -535,7 +535,10 @@ export class Toolbar {return true;}});- item.textContent = item.getAttribute("data-content");+ if (item.querySelector(".katex")) {+ // 选中完整的数学公式才进行备注 https://github.com/siyuan-note/siyuan/issues/13667+ item.textContent = item.getAttribute("data-content");+ }} else if (type === "inline-math" && types.includes("inline-memo")) {// 数学公式和备注不能同时存在types.find((item, index) => {