An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:memo: Update database template script guidance https://github.com/siyuan-note/siyuan/issues/18238
Danieldf6b1e8ac170
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.syindex 6fb73d20a1..2846dc6877 100644--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy@@ -6,7 +6,7 @@"id": "20200924101225-k254i8g","title": "Content Block Type","type": "doc",- "updated": "20251021230320"+ "updated": "20260715112109"},"Children": [{@@ -1793,7 +1793,7 @@"Type": "NodeParagraph","Properties": {"id": "20240427231112-e7j3mqt",- "updated": "20240427231144"+ "updated": "20260715112109"},"Children": [{@@ -1821,7 +1821,7 @@{"Type": "NodeTextMark","TextMarkType": "kbd",- "TextMarkTextContent": "Allow execution of scripts within HTML blocks"+ "TextMarkTextContent": "Allow execution of scripts in HTML content"},{"Type": "NodeText",@@ -2862,4 +2862,4 @@]}]-}\ No newline at end of file+}diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na/20260613155453-sgecaav.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na/20260613155453-sgecaav.syindex 8cb0de47dc..32743ed196 100644--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na/20260613155453-sgecaav.sy+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na/20260613155453-sgecaav.sy@@ -6,7 +6,7 @@"id": "20260613155453-sgecaav","title": "Field Types","type": "doc",- "updated": "20260613194210"+ "updated": "20260715112109"},"Children": [{@@ -4880,7 +4880,7 @@"Type": "NodeParagraph","Properties": {"id": "20260613155453-uwspv67",- "updated": "20260613155453"+ "updated": "20260715112109"},"Children": [{@@ -4890,7 +4890,7 @@},{"Type": "NodeText",- "Data": ": Unlike \"Template Snippets\", this template only applies to default value population of database entries"+ "Data": ": Unlike \"Template Snippets\", this template only applies to default value population of database entries. HTML content in template fields is sanitized by default. To execute scripts, enable Settings - Editor - Allow execution of scripts in HTML content, but only after confirming that the code is safe to avoid cross-site scripting (XSS) attacks."}]}@@ -5955,4 +5955,4 @@}}]-}\ No newline at end of file+}diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-fqgskfj/20200905090211-2vixtlf.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-fqgskfj/20200905090211-2vixtlf.syindex 1efe09298b..2bfa078c97 100644--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-fqgskfj/20200905090211-2vixtlf.sy+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-fqgskfj/20200905090211-2vixtlf.sy@@ -6,7 +6,7 @@"id": "20200905090211-2vixtlf","title": "内容块类型","type": "doc",- "updated": "20260425181343"+ "updated": "20260715112109"},"Children": [{@@ -1833,7 +1833,7 @@"Type": "NodeParagraph","Properties": {"id": "20240427230507-i73h3ru",- "updated": "20240427230507"+ "updated": "20260715112109"},"Children": [{@@ -1877,7 +1877,7 @@{"Type": "NodeTextMark","TextMarkType": "kbd",- "TextMarkTextContent": "允许执行 HTML 块内脚本"+ "TextMarkTextContent": "允许执行 HTML 内容中的脚本"},{"Type": "NodeText",@@ -2972,4 +2972,4 @@]}]-}\ No newline at end of file+}diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq/20260613155453-n1se73o.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq/20260613155453-n1se73o.syindex 67d063dc95..b024015b56 100644--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq/20260613155453-n1se73o.sy+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq/20260613155453-n1se73o.sy@@ -6,7 +6,7 @@"id": "20260613155453-n1se73o","title": "字段类型","type": "doc",- "updated": "20260613194225"+ "updated": "20260715112109"},"Children": [{@@ -4880,7 +4880,7 @@"Type": "NodeParagraph","Properties": {"id": "20260613155453-bf3j5d9",- "updated": "20260613155453"+ "updated": "20260715112109"},"Children": [{@@ -4890,7 +4890,7 @@},{"Type": "NodeText",- "Data": ":与「模板片段」不同,此模板仅作用于数据库条目默认值填充"+ "Data": ":与「模板片段」不同,此模板仅作用于数据库条目默认值填充。模板字段中的 HTML 内容默认会进行安全过滤;如需执行脚本,请开启「设置 - 编辑器 - 允许执行 HTML 内容中的脚本」,但请确认代码安全后再开启,以免遭遇跨站脚本攻击(XSS)"}]}@@ -5955,4 +5955,4 @@}}]-}\ No newline at end of file+}diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226115825-mhcslw2/20211226120147-ib6yy3i.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226115825-mhcslw2/20211226120147-ib6yy3i.syindex 2a50e2808b..0cf27b3d00 100644--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226115825-mhcslw2/20211226120147-ib6yy3i.sy+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226115825-mhcslw2/20211226120147-ib6yy3i.sy@@ -6,7 +6,7 @@"id": "20211226120147-ib6yy3i","title": "內容塊類型","type": "doc",- "updated": "20260425180526"+ "updated": "20260715112109"},"Children": [{@@ -1820,7 +1820,7 @@"Type": "NodeParagraph","Properties": {"id": "20240427230732-p75fah5",- "updated": "20241018105334"+ "updated": "20260715112109"},"Children": [{@@ -1848,7 +1848,7 @@{"Type": "NodeTextMark","TextMarkType": "kbd",- "TextMarkTextContent": "允許執行 HTML 塊內腳本"+ "TextMarkTextContent": "允許執行 HTML 內容中的腳本"},{"Type": "NodeText",@@ -2884,4 +2884,4 @@}}]-}\ No newline at end of file+}diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno/20260613155453-pxxzmhc.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno/20260613155453-pxxzmhc.syindex 0467a987a9..6789b2f3e5 100644--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno/20260613155453-pxxzmhc.sy+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno/20260613155453-pxxzmhc.sy@@ -6,7 +6,7 @@"id": "20260613155453-pxxzmhc","title": "字段類型","type": "doc",- "updated": "20260613194159"+ "updated": "20260715112109"},"Children": [{@@ -4880,7 +4880,7 @@"Type": "NodeParagraph","Properties": {"id": "20260613155453-gpfnad8",- "updated": "20260613155453"+ "updated": "20260715112109"},"Children": [{@@ -4890,7 +4890,7 @@},{"Type": "NodeText",- "Data": ":與「範本片段」不同,此範本僅作用於資料庫條目預設值填充"+ "Data": ":與「範本片段」不同,此範本僅作用於資料庫條目預設值填充。範本欄位中的 HTML 內容預設會進行安全過濾;如需執行腳本,請開啟「設定 - 編輯器 - 允許執行 HTML 內容中的腳本」,但請確認程式碼安全後再開啟,以免遭遇跨站腳本攻擊(XSS)"}]}@@ -5955,4 +5955,4 @@}}]-}\ No newline at end of file+}diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp/20260613155453-sncbsow.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp/20260613155453-sncbsow.syindex 49ed09ee0f..0408a7a991 100644--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp/20260613155453-sncbsow.sy+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp/20260613155453-sncbsow.sy@@ -6,7 +6,7 @@"id": "20260613155453-sncbsow","title": "フィールドタイプ","type": "doc",- "updated": "20260613194142"+ "updated": "20260715112109"},"Children": [{@@ -4880,7 +4880,7 @@"Type": "NodeParagraph","Properties": {"id": "20260613155453-vdj6lin",- "updated": "20260613155453"+ "updated": "20260715112109"},"Children": [{@@ -4890,7 +4890,7 @@},{"Type": "NodeText",- "Data": ":「テンプレートスニペット」とは異なり、このテンプレートはデータベースエントリのデフォルト値入力のみに作用します"+ "Data": ":「テンプレートスニペット」とは異なり、このテンプレートはデータベースエントリのデフォルト値入力のみに作用します。テンプレートフィールド内の HTML コンテンツはデフォルトでサニタイズされます。スクリプトを実行するには、「設定 - エディタ - HTML コンテンツ内のスクリプトの実行を許可」を有効にしてください。ただし、クロスサイトスクリプティング(XSS)攻撃を避けるため、コードが安全であることを確認してから有効にしてください。"}]}@@ -5955,4 +5955,4 @@}}]-}\ No newline at end of file+}diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-gvtksyj/20240530101000-35bbvcx.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-gvtksyj/20240530101000-35bbvcx.syindex c8cb054521..141345c15b 100644--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-gvtksyj/20240530101000-35bbvcx.sy+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-gvtksyj/20240530101000-35bbvcx.sy@@ -7,7 +7,7 @@"id": "20240530101000-35bbvcx","title": "コンテンツブロックの種類","type": "doc",- "updated": "20250330192734"+ "updated": "20260715112109"},"Children": [{@@ -1858,7 +1858,7 @@"Type": "NodeParagraph","Properties": {"id": "20240530101000-u4lkzdu",- "updated": "20240530101000"+ "updated": "20260715112109"},"Children": [{@@ -1886,7 +1886,7 @@{"Type": "NodeTextMark","TextMarkType": "kbd",- "TextMarkTextContent": "HTML ブロック内のスクリプトの実行を許可"+ "TextMarkTextContent": "HTML コンテンツ内のスクリプトの実行を許可"},{"Type": "NodeText",@@ -3177,4 +3177,4 @@}}]-}\ No newline at end of file+}