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/15980

Vanessaadf3234d94aa
diff --git a/app/src/config/util/snippets.ts b/app/src/config/util/snippets.ts
index 54a4fd6d34..96ab89155c 100644
--- a/app/src/config/util/snippets.ts
+++ b/app/src/config/util/snippets.ts
@@ -118,7 +118,7 @@ export const openSnippets = () => {
type: target.id === "addCodeSnippetCSS" ? "css" : "js",
name: "",
content: "",
- enabled: false,
+ enabled: true,
disabledInPublish: false,
}));
event.stopPropagation();