An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessa3966d0b9d095
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.tsindex 1fdc7ea8fb..4a0c477d60 100644--- a/app/src/card/openCard.ts+++ b/app/src/card/openCard.ts@@ -199,7 +199,7 @@ export const openCardByData = (cardsData: { cards: ICard[], unreviewedCount: numindex,blocks});- })+ });event.stopPropagation();event.preventDefault();return;@@ -358,8 +358,8 @@ const nextCard = (options: {const allDone = (countElement: Element, editor: Protyle, actionElements: NodeListOf<Element>) => {countElement.classList.add("fn__none");editor.protyle.element.classList.add("fn__none");- const emptyElement = editor.protyle.element.nextElementSibling- emptyElement.innerHTML = `<div>🔮</div>${window.siyuan.languages.noDueCard}`+ const emptyElement = editor.protyle.element.nextElementSibling;+ emptyElement.innerHTML = `<div>🔮</div>${window.siyuan.languages.noDueCard}`;emptyElement.classList.remove("fn__none");actionElements[0].classList.add("fn__none");actionElements[1].classList.add("fn__none");@@ -376,4 +376,4 @@ const newRound = (countElement: Element, editor: Protyle, actionElements: NodeLiemptyElement.classList.remove("fn__none");actionElements[0].classList.add("fn__none");actionElements[1].classList.add("fn__none");-}+};diff --git a/app/src/mobile/editor.ts b/app/src/mobile/editor.tsindex 374103236f..95c87f242a 100644--- a/app/src/mobile/editor.ts+++ b/app/src/mobile/editor.ts@@ -16,7 +16,7 @@ import {saveScroll} from "../protyle/scroll/saveScroll";export const getCurrentEditor = () => {return window.siyuan.mobile.popEditor || window.siyuan.mobile.editor;-}+};export const openMobileFileById = (id: string, action = [Constants.CB_GET_HL]) => {window.siyuan.storage[Constants.LOCAL_DOCINFO] = {id, action};