Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/10020

Vanessa3d4ffe62bc23
diff --git a/app/src/card/openCard.ts b/app/src/card/openCard.ts
index 1a94e64c85..3f1aef080b 100644
--- a/app/src/card/openCard.ts
+++ b/app/src/card/openCard.ts
@@ -490,6 +490,7 @@ export const openCardByData = (app: App, cardsData: {
dialog
});
dialog.editor = editor;
+ (dialog.element.querySelector('.b3-button[data-type="-1"]') as HTMLButtonElement).focus();
};
const nextCard = (options: {