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/15627
Vanessa2bde2c1efb2c
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.tsindex 00b4a704b3..2ece51c455 100644--- a/app/src/card/openCard.ts+++ b/app/src/card/openCard.ts@@ -233,7 +233,7 @@ export const bindCardEvent = async (options: {cardType: TCardType,id?: string,dialog?: Dialog,- index?: number+ index?: number,}) => {if (window.siyuan.storage[Constants.LOCAL_FLASHCARD].fullscreen) {fullscreen(options.element.querySelector(".card__main"),@@ -301,7 +301,7 @@ export const bindCardEvent = async (options: {};countElement.innerHTML = genCardCount(options.cardsData, index);- options.element.addEventListener("click", (event: MouseEvent) => {+ options.element.firstChild.addEventListener("click", (event: MouseEvent) => {const target = event.target as HTMLElement;let type = "";const currentCard = options.cardsData.cards[index];