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: fix https://github.com/siyuan-note/siyuan/issues/5795
Vanessaf9bbdcafbfe2
diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.jsonindex c3d7a6acb6..d39a68a01f 100644--- a/app/appearance/langs/en_US.json+++ b/app/appearance/langs/en_US.json@@ -8,8 +8,6 @@"katexMacrosTip": "Please use JSON object format (<code class='fn__code'>{}</code>) to wrap macro definitions, eg <code class='fn__code'>{ \"\\\\foo\": \"{x^2}\" }</code>","systemLogTip": "Program running records are saved in the system log. By exporting the system log and sending it to developers, it can better help developers diagnose program problems","systemLog": "System log",- "copyInsertAsAssets": "Copy as asset and insert",- "useFileProtoLink": "Use file:// absolute path and link","syncConfGuide1": "Initialize sync key","syncConfGuide2": "This key is used for data sync end-to-end encryption<br>The key is generated based on the password you enter, please remember the password","syncConfGuide3": "The cloud sync directory is used to store the encrypted data corresponding to the current workspace. The default name is <code>main</code>. If you only have one workspace to sync, use <code>main</code> directly",diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.jsonindex 0e84c0bd4a..47c1938ad1 100644--- a/app/appearance/langs/es_ES.json+++ b/app/appearance/langs/es_ES.json@@ -8,8 +8,6 @@"katexMacrosTip": "Utilice el formato de objeto JSON (<code class='fn__code'>{}</code>) para envolver definiciones de macro, por ejemplo, <code class='fn__code'>{ \"\\\\foo\": \"{x^2}\" }</code>","systemLogTip": "Los registros de ejecución del programa se guardan en el registro del sistema. Al exportar el registro del sistema y enviarlo a los desarrolladores, puede ayudarlos a diagnosticar mejor los problemas del programa","systemLog": "Registro del sistema",- "copyInsertAsAssets": "Copiar como archivo de activos e insertar",- "useFileProtoLink": "Usar archivo:// ruta absoluta y enlace","syncConfGuide1": "Inicializar clave de sincronización","syncConfGuide2": "Esta clave se utiliza para el cifrado de extremo a extremo de sincronización de datos<br>La clave se genera en función de la contraseña que ingresa, recuerde la contraseña","syncConfGuide3": "El directorio de sincronización en la nube se utiliza para almacenar los datos cifrados correspondientes al espacio de trabajo actual. El nombre predeterminado es <code>main</code>. Si solo tiene un espacio de trabajo para sincronizar, agregue y use <code>main</code> directamente.",diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.jsonindex 6835f4df8c..d68244b7a1 100644--- a/app/appearance/langs/fr_FR.json+++ b/app/appearance/langs/fr_FR.json@@ -8,8 +8,6 @@"katexMacrosTip": "Veuillez utiliser le format d'objet JSON (<code class='fn__code'>{}</code>) pour envelopper les définitions de macro, par exemple <code class='fn__code'>{ \"\\\\foo\": \"{x^2}\" }</code>","systemLogTip": "Les enregistrements en cours d'exécution du programme sont enregistrés dans le journal système. En exportant le journal système et en l'envoyant aux développeurs, cela peut mieux aider les développeurs à diagnostiquer les problèmes du programme","systemLog": "Journal du système",- "copyInsertAsAssets": "Copier en tant que fichier d'actif et insérer",- "useFileProtoLink": "Utiliser file:// chemin absolu et lien","syncConfGuide1": "Initialiser la clé de synchronisation","syncConfGuide2": "Cette clé est utilisée pour le chiffrement de bout en bout de la synchronisation des données<br> La clé est générée en fonction du mot de passe que vous saisissez, veuillez vous souvenir du mot de passe","syncConfGuide3": "Le répertoire de synchronisation cloud est utilisé pour stocker les données chiffrées correspondant à l'espace de travail actuel. Le nom par défaut est <code>main</code>. Si vous n'avez qu'un seul espace de travail à synchroniser, ajoutez et utilisez <code>main</code> directement",diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.jsonindex 99e28f3059..4c3475255a 100644--- a/app/appearance/langs/zh_CHT.json+++ b/app/appearance/langs/zh_CHT.json@@ -8,8 +8,6 @@"katexMacrosTip": "請使用 JSON 對象格式(<code class='fn__code'>{}</code>)來包裹宏定義,例如 <code class='fn__code'>{ \"\\\\foo\": \"{x^2}\" }</code>","systemLogTip": "系統日誌中保存了程序運行記錄,通過導出系統日誌發送給開發者可以更好地幫助開發者診斷程序問題","systemLog": "系統日誌",- "copyInsertAsAssets": "複製為資源文件並插入",- "useFileProtoLink": "使用 file:// 絕對路徑並鏈接","syncConfGuide1": "初始化同步密鑰","syncConfGuide2": "該密鑰用於數據同步端到端加密<br>密鑰基於你輸入的密碼生成,請務必牢記密碼","syncConfGuide3": "雲端同步目錄用於存放當前工作空間對應的加密數據,默認名稱為 <code>main</code>。如果你只有一個工作空間需要同步,直接使用 <code>main</code> 即可",diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.jsonindex b8f679ab54..bc73307b63 100644--- a/app/appearance/langs/zh_CN.json+++ b/app/appearance/langs/zh_CN.json@@ -8,8 +8,6 @@"katexMacrosTip": "请使用 JSON 对象格式(<code class='fn__code'>{}</code>)来包裹宏定义,例如 <code class='fn__code'>{ \"\\\\foo\": \"{x^2}\" }</code>","systemLogTip": "系统日志中保存了程序运行记录,通过导出系统日志发送给开发者可以更好地帮助开发者诊断程序问题","systemLog": "系统日志",- "copyInsertAsAssets": "复制为资源文件并插入",- "useFileProtoLink": "使用 file:// 绝对路径并链接","syncConfGuide1": "初始化同步密钥","syncConfGuide2": "该密钥用于数据同步端到端加密<br>密钥基于你输入的密码生成,请务必牢记密码","syncConfGuide3": "云端同步目录用于存放当前工作空间对应的加密数据,默认名称为 <code>main</code>。如果你只有一个工作空间需要同步,直接使用 <code>main</code> 即可",diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.syindex 21f80b3929..16a08abcab 100644--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy@@ -6,7 +6,7 @@"id": "20200924100950-9op5xi1","title": "Shortcuts","type": "doc",- "updated": "20220902124450"+ "updated": "20220902201039"},"Children": [{@@ -5941,7 +5941,7 @@},{"Type": "NodeText",- "Data": "⇧⌘>"+ "Data": "⇧⌘\u003e"},{"Type": "NodeKbdCloseMarker"@@ -9599,12 +9599,12 @@"HeadingLevel": 2,"Properties": {"id": "20220619002116-wyh4u48",- "updated": "20220619002123"+ "updated": "20220902200430"},"Children": [{"Type": "NodeText",- "Data": "Click with modifier keys"+ "Data": "Use modifier keys for click/drag"}]},@@ -9633,7 +9633,7 @@"Properties": {"colgroup": "|","id": "20210601185420-1s8e9uy",- "updated": "20220619002821"+ "updated": "20220902200409"},"Children": [{@@ -9691,8 +9691,20 @@"Data": "td","Children": [{- "Type": "NodeText",- "Data": "Drag and drop"+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "Drag"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]}]}@@ -10884,12 +10896,12 @@"HeadingLevel": 3,"Properties": {"id": "20220901210414-3o89bcr",- "updated": "20220901210554"+ "updated": "20220902200523"},"Children": [{"Type": "NodeText",- "Data": "Backlinks"+ "Data": "Backlinks icon"}]},@@ -10903,7 +10915,7 @@"Properties": {"colgroup": "|","id": "20220901210414-pbddniq",- "updated": "20220901210545"+ "updated": "20220902200537"},"Children": [{@@ -10965,7 +10977,7 @@},{"Type": "NodeText",- "Data": "Drag block icon"+ "Data": "Drag"},{"Type": "NodeKbdCloseMarker"@@ -11003,7 +11015,7 @@},{"Type": "NodeText",- "Data": "Alt+Drag block icon"+ "Data": "Drag+Alt"},{"Type": "NodeKbdCloseMarker"@@ -11041,12 +11053,220 @@},{"Type": "NodeText",- "Data": "Shift+Drag block icon"+ "Data": "Drag+Shift"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "ID": "20220902200437-58why4v",+ "Type": "NodeHeading",+ "HeadingLevel": 3,+ "Properties": {+ "id": "20220902200437-58why4v",+ "updated": "20220902201039"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Upload assets"+ }+ ]+ },+ {+ "ID": "20220902200448-06bh19l",+ "Type": "NodeTable",+ "TableAligns": [+ 0,+ 0+ ],+ "Properties": {+ "colgroup": "|",+ "id": "20220902200448-06bh19l",+ "updated": "20220902200720"+ },+ "Children": [+ {+ "Type": "NodeTableHead",+ "Data": "thead",+ "Children": [+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "th",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Name"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "th",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Shortcuts"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Copy and paste"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "Ctrl+C"},{"Type": "NodeKbdCloseMarker"}]+ },+ {+ "Type": "NodeText",+ "Data": " / "+ },+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "⌘C"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Copy as asset and insert"+ },+ {+ "Type": "NodeBr",+ "Data": "br"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "Drag"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Use file:// absolute path and link"+ },+ {+ "Type": "NodeBr",+ "Data": "br"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "Drag+Alt"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ },+ {+ "Type": "NodeBr",+ "Data": "br"}]}@@ -11055,4 +11275,4 @@]}]-}+}\ No newline at end of filediff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.syindex a427df0550..98e73b20a2 100644--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy@@ -6,7 +6,7 @@"id": "20200813004551-gm0pbn1","title": "快捷键","type": "doc",- "updated": "20220902123121"+ "updated": "20220902201142"},"Children": [{@@ -6039,7 +6039,7 @@},{"Type": "NodeText",- "Data": "⇧⌘>"+ "Data": "⇧⌘\u003e"},{"Type": "NodeKbdCloseMarker"@@ -8879,7 +8879,7 @@"Properties": {"colgroup": "|","id": "20201227133317-v7clw0j",- "updated": "20210910204356"+ "updated": "20220902200852"},"Children": [{@@ -9463,7 +9463,7 @@},{"Type": "NodeText",- "Data": "Ctrl+Shift+-"+ "Data": "Ctrl+Shift+_"},{"Type": "NodeKbdCloseMarker"@@ -9618,12 +9618,12 @@"HeadingLevel": 2,"Properties": {"id": "20220618235609-cuv0am5",- "updated": "20220619000224"+ "updated": "20220902200924"},"Children": [{"Type": "NodeText",- "Data": "使用辅助键进行点击"+ "Data": "点击/拖拽时使用辅助键"}]},@@ -9650,8 +9650,9 @@0],"Properties": {+ "colgroup": "|","id": "20210526200223-xyuqsge",- "updated": "20211107225955"+ "updated": "20220902200938"},"Children": [{@@ -9665,8 +9666,6 @@{"Type": "NodeTableCell","Data": "th",- "TableCellContentWidth": 6,- "TableCellContentMaxWidth": 11,"Children": [{"Type": "NodeText",@@ -9677,8 +9676,6 @@{"Type": "NodeTableCell","Data": "th",- "TableCellContentWidth": 6,- "TableCellContentMaxWidth": 29,"Children": [{"Type": "NodeText",@@ -9697,8 +9694,6 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 6,- "TableCellContentMaxWidth": 11,"Children": [{"Type": "NodeText",@@ -9709,12 +9704,22 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 6,- "TableCellContentMaxWidth": 29,"Children": [{- "Type": "NodeText",- "Data": "拖拽"+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "拖拽"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]}]}@@ -9727,8 +9732,6 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 10,- "TableCellContentMaxWidth": 11,"Children": [{"Type": "NodeText",@@ -9739,8 +9742,6 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 10,- "TableCellContentMaxWidth": 29,"Children": [{"Type": "NodeKbd",@@ -9769,8 +9770,6 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 10,- "TableCellContentMaxWidth": 11,"Children": [{"Type": "NodeText",@@ -9781,8 +9780,6 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 28,- "TableCellContentMaxWidth": 29,"Children": [{"Type": "NodeKbd",@@ -9831,8 +9828,6 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 11,- "TableCellContentMaxWidth": 11,"Children": [{"Type": "NodeText",@@ -9843,8 +9838,6 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 27,- "TableCellContentMaxWidth": 29,"Children": [{"Type": "NodeKbd",@@ -9893,8 +9886,6 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 6,- "TableCellContentMaxWidth": 11,"Children": [{"Type": "NodeText",@@ -9905,8 +9896,6 @@{"Type": "NodeTableCell","Data": "td",- "TableCellContentWidth": 29,- "TableCellContentMaxWidth": 29,"Children": [{"Type": "NodeKbd",@@ -10882,12 +10871,12 @@"HeadingLevel": 3,"Properties": {"id": "20220619001133-tyykggw",- "updated": "20220901205853"+ "updated": "20220902200931"},"Children": [{"Type": "NodeText",- "Data": "反向链接"+ "Data": "反向链接图标"}]},@@ -10901,7 +10890,7 @@"Properties": {"colgroup": "|","id": "20220901205905-c1okxuw",- "updated": "20220901210145"+ "updated": "20220902201015"},"Children": [{@@ -10963,7 +10952,7 @@},{"Type": "NodeText",- "Data": "图标拖拽"+ "Data": "拖拽"},{"Type": "NodeKbdCloseMarker"@@ -11001,7 +10990,7 @@},{"Type": "NodeText",- "Data": "Alt+图标拖拽"+ "Data": "拖拽+Alt"},{"Type": "NodeKbdCloseMarker"@@ -11039,7 +11028,7 @@},{"Type": "NodeText",- "Data": "Shift+图标拖拽"+ "Data": "图标拖拽+Shift"},{"Type": "NodeKbdCloseMarker"@@ -11054,10 +11043,214 @@},{"ID": "20220901210205-d5z8hhk",+ "Type": "NodeHeading",+ "HeadingLevel": 3,+ "Properties": {+ "id": "20220901210205-d5z8hhk",+ "updated": "20220902201044"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "上传资源文件"+ }+ ]+ },+ {+ "ID": "20220902201053-imb47bl",+ "Type": "NodeTable",+ "TableAligns": [+ 0,+ 0+ ],+ "Properties": {+ "colgroup": "|",+ "id": "20220902201053-imb47bl",+ "updated": "20220902201142"+ },+ "Children": [+ {+ "Type": "NodeTableHead",+ "Data": "thead",+ "Children": [+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "th",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "名稱"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "th",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "操作"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "复制粘贴"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "Ctrl+C"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ },+ {+ "Type": "NodeText",+ "Data": " / "+ },+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "⌘C"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "复制为资源文件并插入"+ },+ {+ "Type": "NodeBr",+ "Data": "br"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "拖拽"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "使用 file:// 绝对路径并链接"+ },+ {+ "Type": "NodeBr",+ "Data": "br"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "拖拽+Alt"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "ID": "20220902201142-hyb8kfm","Type": "NodeParagraph","Properties": {- "id": "20220901210205-d5z8hhk"+ "id": "20220902201142-hyb8kfm"}}]-}+}\ No newline at end of filediff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.syindex a614e2445a..32a8c2ec9a 100644--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy@@ -5,7 +5,7 @@"icon": "2328","id": "20211226122549-jktxego","title": "快捷鍵",- "updated": "20220902124426"+ "updated": "20220902201113"},"Children": [{@@ -6039,7 +6039,7 @@},{"Type": "NodeText",- "Data": "⇧⌘>"+ "Data": "⇧⌘\u003e"},{"Type": "NodeKbdCloseMarker"@@ -8897,8 +8897,9 @@0],"Properties": {+ "colgroup": "|","id": "20211226122652-n2r88dm",- "updated": "20211226012623"+ "updated": "20220902195513"},"Children": [{@@ -9482,7 +9483,7 @@},{"Type": "NodeText",- "Data": "Ctrl+Shift+-"+ "Data": "Ctrl+Shift+_"},{"Type": "NodeKbdCloseMarker"@@ -9637,12 +9638,12 @@"HeadingLevel": 2,"Properties": {"id": "20220619002039-klsrtup",- "updated": "20220619002057"+ "updated": "20220902200055"},"Children": [{"Type": "NodeText",- "Data": "使用輔助鍵進行點擊"+ "Data": "點擊/拖拽时使用輔助鍵"}]},@@ -9671,7 +9672,7 @@"Properties": {"colgroup": "|","id": "20211226122652-ykdt6pc",- "updated": "20211228130841"+ "updated": "20220902200150"},"Children": [{@@ -9725,8 +9726,20 @@"Data": "td","Children": [{- "Type": "NodeText",- "Data": "拖拽"+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "拖拽"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]}]}@@ -10930,12 +10943,12 @@"HeadingLevel": 3,"Properties": {"id": "20220901210742-0cfjjd9",- "updated": "20220901210742"+ "updated": "20220902200545"},"Children": [{"Type": "NodeText",- "Data": "反向鏈接"+ "Data": "反向鏈接圖標"}]},@@ -10949,7 +10962,7 @@"Properties": {"colgroup": "|","id": "20220901210742-nhc2k8i",- "updated": "20220901210742"+ "updated": "20220902200550"},"Children": [{@@ -11011,7 +11024,7 @@},{"Type": "NodeText",- "Data": "圖標拖拽"+ "Data": "拖拽"},{"Type": "NodeKbdCloseMarker"@@ -11049,7 +11062,7 @@},{"Type": "NodeText",- "Data": "Alt+圖標拖拽"+ "Data": "拖拽+Alt"},{"Type": "NodeKbdCloseMarker"@@ -11087,7 +11100,211 @@},{"Type": "NodeText",- "Data": "Shift+圖標拖拽"+ "Data": "拖拽+Shift"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "ID": "20220902195608-jh61ukq",+ "Type": "NodeHeading",+ "HeadingLevel": 3,+ "Properties": {+ "id": "20220902195608-jh61ukq",+ "updated": "20220902195635"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "上传资源文件"+ }+ ]+ },+ {+ "ID": "20220902195638-92scg94",+ "Type": "NodeTable",+ "TableAligns": [+ 0,+ 0+ ],+ "Properties": {+ "colgroup": "|",+ "id": "20220902195638-92scg94",+ "updated": "20220902201113"+ },+ "Children": [+ {+ "Type": "NodeTableHead",+ "Data": "thead",+ "Children": [+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "th",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "名稱"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "th",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "操作"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "複製粘貼"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "Ctrl+C"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ },+ {+ "Type": "NodeText",+ "Data": " / "+ },+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "⌘C"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "複製為資源文件並插入"+ },+ {+ "Type": "NodeBr",+ "Data": "br"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "拖拽"+ },+ {+ "Type": "NodeKbdCloseMarker"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "使用 file:// 絕對路徑並鏈接"+ },+ {+ "Type": "NodeBr",+ "Data": "br"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeKbd",+ "Data": "kbd",+ "Children": [+ {+ "Type": "NodeKbdOpenMarker"+ },+ {+ "Type": "NodeText",+ "Data": "拖拽+Alt"},{"Type": "NodeKbdCloseMarker"@@ -11099,6 +11316,13 @@]}]+ },+ {+ "ID": "20220902195830-i3ncplk",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20220902195830-i3ncplk"+ }}]-}+}\ No newline at end of filediff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.tsindex 98f830f290..2e11f10be1 100644--- a/app/src/protyle/util/editorCommonEvent.ts+++ b/app/src/protyle/util/editorCommonEvent.ts@@ -22,7 +22,6 @@ import {blockRender} from "../markdown/blockRender";import {processRender} from "./processCode";import {highlightRender} from "../markdown/highlightRender";import {uploadLocalFiles} from "../upload";-import {MenuItem} from "../../menus/Menu";import {insertHTML} from "./insertHTML";const dragSb = (protyle: IProtyle, sourceElements: Element[], targetElement: Element, isBottom: boolean, direct: "col" | "row") => {@@ -715,26 +714,15 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {}}if (isAllFile) {- window.siyuan.menus.menu.remove();- window.siyuan.menus.menu.append(new MenuItem({- label: window.siyuan.languages.copyInsertAsAssets,- icon: "iconUpload",- click() {- uploadLocalFiles(files, protyle);- }- }).element);- window.siyuan.menus.menu.append(new MenuItem({- label: window.siyuan.languages.useFileProtoLink,- icon: "iconLink",- click() {- let fileText = "";- files.forEach((item) => {- fileText += `[${path.basename(item)}](file://${item})\n`;- });- insertHTML(protyle.lute.SpinBlockDOM(fileText), protyle);- }- }).element);- window.siyuan.menus.menu.popup({x: event.clientX, y: event.clientY});+ if (event.altKey) {+ let fileText = "";+ files.forEach((item) => {+ fileText += `[${path.basename(item)}](file://${item})\n`;+ });+ insertHTML(protyle.lute.SpinBlockDOM(fileText), protyle);+ } else {+ uploadLocalFiles(files, protyle);+ }} else {uploadLocalFiles(files, protyle);}