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/issues/18283
Vanessa49f22640cf0c
diff --git a/app/src/config/util/snippets.ts b/app/src/config/util/snippets.tsindex 97cff07e8f..a5a2da9be5 100644--- a/app/src/config/util/snippets.ts+++ b/app/src/config/util/snippets.ts@@ -189,15 +189,14 @@ const filterSnippet = (dialog: Dialog, inputItem: HTMLInputElement) => {const genSnippet = (options: ISnippet) => {return `<div data-id="${options.id || ""}" data-type="${options.type}"><div class="fn__hr--b"></div>- <div class="fn__flex">- <input type="text" class="fn__size200 b3-text-field" placeholder="${window.siyuan.languages.title}">+ <label class="fn__flex${window.siyuan.config.publish.enable ? "" : " fn__none"}">+ <input data-type="disabledInPublish" type="checkbox" class="b3-switch fn__flex-center" ${options.disabledInPublish ? "" : " checked"}><div class="fn__space"></div>- <label class="fn__flex${window.siyuan.config.publish.enable ? "" : " fn__none"}">- <input data-type="disabledInPublish" type="checkbox" class="b3-switch fn__flex-center" ${options.disabledInPublish ? "" : " checked"}>- <div class="fn__space"></div>- <span class="fn__flex-center">${window.siyuan.languages.publishService}</span>- </label>- <div class="fn__flex-1"></div>+ <span class="fn__flex-center">${window.siyuan.languages.publishService}</span>+ </label>+ <div class="fn__hr"></div>+ <div class="fn__flex">+ <input type="text" class="fn__flex-1 b3-text-field" placeholder="${window.siyuan.languages.title}"><div class="fn__space"></div><span aria-label="${window.siyuan.languages.remove}" data-action="remove" class="b3-tooltips b3-tooltips__sw block__icon block__icon--show"><svg><use xlink:href="#iconTrashcan"></use></svg>