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: Add FAQ about retained assets
Daniel385bb169f6e5
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234731-h3zkwm2.sy b/app/guide/20210808180117-6v0mkxr/20200923234731-h3zkwm2.syindex c38e2efe2d..e817003ca2 100644--- a/app/guide/20210808180117-6v0mkxr/20200923234731-h3zkwm2.sy+++ b/app/guide/20210808180117-6v0mkxr/20200923234731-h3zkwm2.sy@@ -7,7 +7,7 @@"id": "20200923234731-h3zkwm2","title": "FAQ","type": "doc",- "updated": "20260803171606"+ "updated": "20260807094000"},"Children": [{@@ -921,6 +921,101 @@}]},+ {+ "ID": "20260807094000-a1s2e3n",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20260807094000-a1s2e3n",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Why are assets retained after I delete images or files from a document?"+ }+ ]+ },+ {+ "ID": "20260807094000-faqen01",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqen01",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Images and files inserted into a document are references to assets. Deleting content from a document removes only the reference at that location, not the corresponding asset, because the same asset may also be referenced by other documents, databases, document title images, or HTML."+ }+ ]+ },+ {+ "ID": "20260807094000-faqen02",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqen02",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Determining whether an asset is completely unused requires scanning the entire workspace. Performing this check every time a reference is deleted would affect editing performance. Automatically deleting assets would also make undo and multi-device synchronization unreliable and could cause accidental data loss. Therefore, SiYuan does not automatically delete assets when content references are removed and does not provide an option to enable this behavior."+ }+ ]+ },+ {+ "ID": "20260807094000-faqen03",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqen03",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "After confirming that these files are no longer needed, review and clean them in "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Settings"+ },+ {+ "Type": "NodeText",+ "Data": " - "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Assets"+ },+ {+ "Type": "NodeText",+ "Data": " - "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Unreferenced assets"+ },+ {+ "Type": "NodeText",+ "Data": ". Cleanup operations are recorded in "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "block-ref",+ "TextMarkBlockRefID": "20210615213222-vs5tzbd",+ "TextMarkBlockRefSubtype": "d",+ "TextMarkTextContent": "Data history"+ },+ {+ "Type": "NodeText",+ "Data": ". If an asset is deleted by mistake, select Assets in Data History and roll it back."+ }+ ]+ },{"ID": "20220708111435-xmj42q4","Type": "NodeHeading",@@ -1351,4 +1446,4 @@]}]-}\ No newline at end of file+}diff --git a/app/guide/20210808180117-czj9bvb/20200813093015-u6bopdt.sy b/app/guide/20210808180117-czj9bvb/20200813093015-u6bopdt.syindex a812719984..8b16f720b2 100644--- a/app/guide/20210808180117-czj9bvb/20200813093015-u6bopdt.sy+++ b/app/guide/20210808180117-czj9bvb/20200813093015-u6bopdt.sy@@ -7,7 +7,7 @@"id": "20200813093015-u6bopdt","title": "常见问题","type": "doc",- "updated": "20260803171606"+ "updated": "20260807094000"},"Children": [{@@ -914,6 +914,101 @@}]},+ {+ "ID": "20260807094000-a1s2e3t",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20260807094000-a1s2e3t",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "删除笔记中的图片或文件后,为什么资源文件仍然保留?"+ }+ ]+ },+ {+ "ID": "20260807094000-faqcn01",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqcn01",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "笔记中插入的图片或文件是对资源文件的引用。删除笔记中的内容只会删除当前位置的引用,不会同时删除对应的资源文件,因为同一资源还可能被其他文档、数据库、题头图或 HTML 等内容引用。"+ }+ ]+ },+ {+ "ID": "20260807094000-faqcn02",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqcn02",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "要确认一个资源文件是否已完全不再使用,需要检查整个工作空间。如果每次删除引用时都进行检查,会影响编辑性能;同时,自动删除资源文件也会使内容撤销和多端同步变得不可靠,并可能导致误删。因此,思源不会在删除内容引用时自动删除资源文件,也不提供自动删除选项。"+ }+ ]+ },+ {+ "ID": "20260807094000-faqcn03",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqcn03",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "确认不再需要这些文件后,可在 "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "设置"+ },+ {+ "Type": "NodeText",+ "Data": " - "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "资源"+ },+ {+ "Type": "NodeText",+ "Data": " - "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "未引用的资源文件"+ },+ {+ "Type": "NodeText",+ "Data": " 中检查并清理。清理操作会生成"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "block-ref",+ "TextMarkBlockRefID": "20210615211733-v6rzowm",+ "TextMarkBlockRefSubtype": "d",+ "TextMarkTextContent": "数据历史"+ },+ {+ "Type": "NodeText",+ "Data": ",如果发生误删,可在数据历史中选择资源文件进行回滚。"+ }+ ]+ },{"ID": "20211222010224-qmstv96","Type": "NodeHeading",@@ -1366,4 +1461,4 @@]}]-}\ No newline at end of file+}diff --git a/app/guide/20211226090932-5lcq56f/20211226115227-r1rty9v.sy b/app/guide/20211226090932-5lcq56f/20211226115227-r1rty9v.syindex 7abef28c22..d22178068a 100644--- a/app/guide/20211226090932-5lcq56f/20211226115227-r1rty9v.sy+++ b/app/guide/20211226090932-5lcq56f/20211226115227-r1rty9v.sy@@ -7,7 +7,7 @@"id": "20211226115227-r1rty9v","title": "常見問題","type": "doc",- "updated": "20260803171606"+ "updated": "20260807094000"},"Children": [{@@ -918,6 +918,101 @@}]},+ {+ "ID": "20260807094000-a1s2e3w",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20260807094000-a1s2e3w",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "刪除筆記中的圖片或文件後,為什麼資料文件仍然保留?"+ }+ ]+ },+ {+ "ID": "20260807094000-faqtw01",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqtw01",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "筆記中插入的圖片或文件是對資料文件的引用。刪除筆記中的內容只會刪除目前位置的引用,不會同時刪除對應的資料文件,因為同一資料文件還可能被其他文件、資料庫、題頭圖或 HTML 等內容引用。"+ }+ ]+ },+ {+ "ID": "20260807094000-faqtw02",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqtw02",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "要確認一個資料文件是否已完全不再使用,需要檢查整個工作空間。如果每次刪除引用時都進行檢查,會影響編輯效能;同時,自動刪除資料文件也會使內容撤銷和多端同步變得不可靠,並可能導致誤刪。因此,思源不會在刪除內容引用時自動刪除資料文件,也不提供自動刪除選項。"+ }+ ]+ },+ {+ "ID": "20260807094000-faqtw03",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqtw03",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "確認不再需要這些文件後,可在 "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "設定"+ },+ {+ "Type": "NodeText",+ "Data": " - "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "資料"+ },+ {+ "Type": "NodeText",+ "Data": " - "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "未引用的資料文件"+ },+ {+ "Type": "NodeText",+ "Data": " 中檢查並清理。清理操作會產生"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "block-ref",+ "TextMarkBlockRefID": "20211226122707-8cr09co",+ "TextMarkBlockRefSubtype": "d",+ "TextMarkTextContent": "資料歷史"+ },+ {+ "Type": "NodeText",+ "Data": ",如果發生誤刪,可在資料歷史中選擇資料文件進行回復。"+ }+ ]+ },{"ID": "20220708111330-n2z718x","Type": "NodeHeading",@@ -1349,4 +1444,4 @@]}]-}\ No newline at end of file+}diff --git a/app/guide/20240530133126-axarxgx/20240530101000-jp793ic.sy b/app/guide/20240530133126-axarxgx/20240530101000-jp793ic.syindex 2c9f529264..287a82166c 100644--- a/app/guide/20240530133126-axarxgx/20240530101000-jp793ic.sy+++ b/app/guide/20240530133126-axarxgx/20240530101000-jp793ic.sy@@ -8,7 +8,7 @@"id": "20240530101000-jp793ic","title": "よくある質問","type": "doc",- "updated": "20260803171606"+ "updated": "20260807094000"},"Children": [{@@ -989,6 +989,101 @@}]},+ {+ "ID": "20260807094000-a1s2e3j",+ "Type": "NodeHeading",+ "HeadingLevel": 2,+ "Properties": {+ "id": "20260807094000-a1s2e3j",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "ノート内の画像やファイルを削除しても、アセットが残るのはなぜですか?"+ }+ ]+ },+ {+ "ID": "20260807094000-faqja01",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqja01",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "ノートに挿入された画像やファイルは、アセットへの参照です。ノート内のコンテンツを削除しても、その場所の参照だけが削除され、対応するアセットは削除されません。同じアセットがほかのドキュメント、データベース、ドキュメントのタイトル画像、HTML などから参照されている可能性があるためです。"+ }+ ]+ },+ {+ "ID": "20260807094000-faqja02",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqja02",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "アセットが完全に使用されていないことを確認するには、ワークスペース全体を検査する必要があります。参照を削除するたびに検査すると、編集パフォーマンスに影響します。また、アセットの自動削除は、元に戻す操作や複数デバイス間の同期を不安定にし、誤削除につながる可能性があります。そのため、SiYuan はコンテンツ内の参照を削除してもアセットを自動では削除せず、自動削除を有効にするオプションも提供していません。"+ }+ ]+ },+ {+ "ID": "20260807094000-faqja03",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260807094000-faqja03",+ "updated": "20260807094000"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "これらのファイルが不要であることを確認したら、"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "設定"+ },+ {+ "Type": "NodeText",+ "Data": " - "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "アセット"+ },+ {+ "Type": "NodeText",+ "Data": " - "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "参照されていないアセット"+ },+ {+ "Type": "NodeText",+ "Data": " で確認してクリーンアップできます。クリーンアップ操作は"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "block-ref",+ "TextMarkBlockRefID": "20240530101000-txrc7z1",+ "TextMarkBlockRefSubtype": "d",+ "TextMarkTextContent": "データ履歴"+ },+ {+ "Type": "NodeText",+ "Data": "に記録されます。誤って削除した場合は、データ履歴でアセットを選択してロールバックできます。"+ }+ ]+ },{"ID": "20240530101000-r8dsete","Type": "NodeHeading",@@ -1533,4 +1628,4 @@}}]-}\ No newline at end of file+}