Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16107

Vanessa39ee06578e56
diff --git a/app/src/card/newCardTab.ts b/app/src/card/newCardTab.ts
index 3bf7131096..4c87f3b291 100644
--- a/app/src/card/newCardTab.ts
+++ b/app/src/card/newCardTab.ts
@@ -6,6 +6,7 @@ import {Protyle} from "../protyle";
import {setPanelFocus} from "../layout/util";
import {App} from "../index";
import {clearOBG} from "../layout/dock/util";
+import {setPadding} from "../protyle/ui/initUI";
export const newCardModel = (options: {
app: App,
@@ -119,6 +120,7 @@ export const newCardModel = (options: {
cardsData,
});
customObj.editors.push(editor);
+ setPadding(editor.protyle);
});
}
});