Skip to content

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

Fix #7647 (#7648)

InEase / Muxefda061928b5
diff --git a/app/src/config/util/snippets.ts b/app/src/config/util/snippets.ts
index 1fd66e0efc..55b76cf576 100644
--- a/app/src/config/util/snippets.ts
+++ b/app/src/config/util/snippets.ts
@@ -159,6 +159,6 @@ const genSnippet = (options: ISnippet) => {
</span>
</div>
<div class="fn__hr"></div>
- <textarea class="fn__block b3-text-field" placeholder="${window.siyuan.languages.codeSnippet}"></textarea>
+ <textarea class="fn__block b3-text-field" placeholder="${window.siyuan.languages.codeSnippet}" style="resize: vertical" spellcheck="false"></textarea>
</div><div class="fn__hr--b"></div>`;
};