This commit is contained in:
Vanessa 2022-09-02 20:16:05 +08:00
parent 8596905de7
commit f9bbdcafbf
9 changed files with 717 additions and 102 deletions

View file

@ -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>", "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", "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", "systemLog": "System log",
"copyInsertAsAssets": "Copy as asset and insert",
"useFileProtoLink": "Use file:// absolute path and link",
"syncConfGuide1": "Initialize sync key", "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", "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", "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",

View file

@ -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>", "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", "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", "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", "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", "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.", "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.",

View file

@ -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>", "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", "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", "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", "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", "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", "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",

View file

@ -8,8 +8,6 @@
"katexMacrosTip": "請使用 JSON 對象格式(<code class='fn__code'>{}</code>)來包裹宏定義,例如 <code class='fn__code'>{ \"\\\\foo\": \"{x^2}\" }</code>", "katexMacrosTip": "請使用 JSON 對象格式(<code class='fn__code'>{}</code>)來包裹宏定義,例如 <code class='fn__code'>{ \"\\\\foo\": \"{x^2}\" }</code>",
"systemLogTip": "系統日誌中保存了程序運行記錄,通過導出系統日誌發送給開發者可以更好地幫助開發者診斷程序問題", "systemLogTip": "系統日誌中保存了程序運行記錄,通過導出系統日誌發送給開發者可以更好地幫助開發者診斷程序問題",
"systemLog": "系統日誌", "systemLog": "系統日誌",
"copyInsertAsAssets": "複製為資源文件並插入",
"useFileProtoLink": "使用 file:// 絕對路徑並鏈接",
"syncConfGuide1": "初始化同步密鑰", "syncConfGuide1": "初始化同步密鑰",
"syncConfGuide2": "該密鑰用於數據同步端到端加密<br>密鑰基於你輸入的密碼生成,請務必牢記密碼", "syncConfGuide2": "該密鑰用於數據同步端到端加密<br>密鑰基於你輸入的密碼生成,請務必牢記密碼",
"syncConfGuide3": "雲端同步目錄用於存放當前工作空間對應的加密數據,默認名稱為 <code>main</code>。如果你只有一個工作空間需要同步,直接使用 <code>main</code> 即可", "syncConfGuide3": "雲端同步目錄用於存放當前工作空間對應的加密數據,默認名稱為 <code>main</code>。如果你只有一個工作空間需要同步,直接使用 <code>main</code> 即可",

View file

@ -8,8 +8,6 @@
"katexMacrosTip": "请使用 JSON 对象格式(<code class='fn__code'>{}</code>)来包裹宏定义,例如 <code class='fn__code'>{ \"\\\\foo\": \"{x^2}\" }</code>", "katexMacrosTip": "请使用 JSON 对象格式(<code class='fn__code'>{}</code>)来包裹宏定义,例如 <code class='fn__code'>{ \"\\\\foo\": \"{x^2}\" }</code>",
"systemLogTip": "系统日志中保存了程序运行记录,通过导出系统日志发送给开发者可以更好地帮助开发者诊断程序问题", "systemLogTip": "系统日志中保存了程序运行记录,通过导出系统日志发送给开发者可以更好地帮助开发者诊断程序问题",
"systemLog": "系统日志", "systemLog": "系统日志",
"copyInsertAsAssets": "复制为资源文件并插入",
"useFileProtoLink": "使用 file:// 绝对路径并链接",
"syncConfGuide1": "初始化同步密钥", "syncConfGuide1": "初始化同步密钥",
"syncConfGuide2": "该密钥用于数据同步端到端加密<br>密钥基于你输入的密码生成,请务必牢记密码", "syncConfGuide2": "该密钥用于数据同步端到端加密<br>密钥基于你输入的密码生成,请务必牢记密码",
"syncConfGuide3": "云端同步目录用于存放当前工作空间对应的加密数据,默认名称为 <code>main</code>。如果你只有一个工作空间需要同步,直接使用 <code>main</code> 即可", "syncConfGuide3": "云端同步目录用于存放当前工作空间对应的加密数据,默认名称为 <code>main</code>。如果你只有一个工作空间需要同步,直接使用 <code>main</code> 即可",

View file

@ -6,7 +6,7 @@
"id": "20200924100950-9op5xi1", "id": "20200924100950-9op5xi1",
"title": "Shortcuts", "title": "Shortcuts",
"type": "doc", "type": "doc",
"updated": "20220902124450" "updated": "20220902201039"
}, },
"Children": [ "Children": [
{ {
@ -5941,7 +5941,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "⇧⌘>" "Data": "⇧⌘\u003e"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -9599,12 +9599,12 @@
"HeadingLevel": 2, "HeadingLevel": 2,
"Properties": { "Properties": {
"id": "20220619002116-wyh4u48", "id": "20220619002116-wyh4u48",
"updated": "20220619002123" "updated": "20220902200430"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Click with modifier keys" "Data": "Use modifier keys for click/drag"
} }
] ]
}, },
@ -9633,7 +9633,7 @@
"Properties": { "Properties": {
"colgroup": "|", "colgroup": "|",
"id": "20210601185420-1s8e9uy", "id": "20210601185420-1s8e9uy",
"updated": "20220619002821" "updated": "20220902200409"
}, },
"Children": [ "Children": [
{ {
@ -9690,9 +9690,21 @@
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"Children": [ "Children": [
{
"Type": "NodeKbd",
"Data": "kbd",
"Children": [
{
"Type": "NodeKbdOpenMarker"
},
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Drag and drop" "Data": "Drag"
},
{
"Type": "NodeKbdCloseMarker"
}
]
} }
] ]
} }
@ -10884,12 +10896,12 @@
"HeadingLevel": 3, "HeadingLevel": 3,
"Properties": { "Properties": {
"id": "20220901210414-3o89bcr", "id": "20220901210414-3o89bcr",
"updated": "20220901210554" "updated": "20220902200523"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Backlinks" "Data": "Backlinks icon"
} }
] ]
}, },
@ -10903,7 +10915,7 @@
"Properties": { "Properties": {
"colgroup": "|", "colgroup": "|",
"id": "20220901210414-pbddniq", "id": "20220901210414-pbddniq",
"updated": "20220901210545" "updated": "20220902200537"
}, },
"Children": [ "Children": [
{ {
@ -10965,7 +10977,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Drag block icon" "Data": "Drag"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -11003,7 +11015,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Alt+Drag block icon" "Data": "Drag+Alt"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -11041,7 +11053,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Shift+Drag block icon" "Data": "Drag+Shift"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -11053,6 +11065,214 @@
] ]
} }
] ]
},
{
"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"
}
]
}
]
}
]
} }
] ]
} }

View file

@ -6,7 +6,7 @@
"id": "20200813004551-gm0pbn1", "id": "20200813004551-gm0pbn1",
"title": "快捷键", "title": "快捷键",
"type": "doc", "type": "doc",
"updated": "20220902123121" "updated": "20220902201142"
}, },
"Children": [ "Children": [
{ {
@ -6039,7 +6039,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "⇧⌘>" "Data": "⇧⌘\u003e"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -8879,7 +8879,7 @@
"Properties": { "Properties": {
"colgroup": "|", "colgroup": "|",
"id": "20201227133317-v7clw0j", "id": "20201227133317-v7clw0j",
"updated": "20210910204356" "updated": "20220902200852"
}, },
"Children": [ "Children": [
{ {
@ -9463,7 +9463,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Ctrl+Shift+-" "Data": "Ctrl+Shift+_"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -9618,12 +9618,12 @@
"HeadingLevel": 2, "HeadingLevel": 2,
"Properties": { "Properties": {
"id": "20220618235609-cuv0am5", "id": "20220618235609-cuv0am5",
"updated": "20220619000224" "updated": "20220902200924"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "使用辅助键进行点击" "Data": "点击/拖拽时使用辅助键"
} }
] ]
}, },
@ -9650,8 +9650,9 @@
0 0
], ],
"Properties": { "Properties": {
"colgroup": "|",
"id": "20210526200223-xyuqsge", "id": "20210526200223-xyuqsge",
"updated": "20211107225955" "updated": "20220902200938"
}, },
"Children": [ "Children": [
{ {
@ -9665,8 +9666,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "th", "Data": "th",
"TableCellContentWidth": 6,
"TableCellContentMaxWidth": 11,
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
@ -9677,8 +9676,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "th", "Data": "th",
"TableCellContentWidth": 6,
"TableCellContentMaxWidth": 29,
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
@ -9697,8 +9694,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 6,
"TableCellContentMaxWidth": 11,
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
@ -9709,12 +9704,22 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 6,
"TableCellContentMaxWidth": 29,
"Children": [ "Children": [
{
"Type": "NodeKbd",
"Data": "kbd",
"Children": [
{
"Type": "NodeKbdOpenMarker"
},
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "拖拽" "Data": "拖拽"
},
{
"Type": "NodeKbdCloseMarker"
}
]
} }
] ]
} }
@ -9727,8 +9732,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 10,
"TableCellContentMaxWidth": 11,
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
@ -9739,8 +9742,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 10,
"TableCellContentMaxWidth": 29,
"Children": [ "Children": [
{ {
"Type": "NodeKbd", "Type": "NodeKbd",
@ -9769,8 +9770,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 10,
"TableCellContentMaxWidth": 11,
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
@ -9781,8 +9780,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 28,
"TableCellContentMaxWidth": 29,
"Children": [ "Children": [
{ {
"Type": "NodeKbd", "Type": "NodeKbd",
@ -9831,8 +9828,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 11,
"TableCellContentMaxWidth": 11,
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
@ -9843,8 +9838,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 27,
"TableCellContentMaxWidth": 29,
"Children": [ "Children": [
{ {
"Type": "NodeKbd", "Type": "NodeKbd",
@ -9893,8 +9886,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 6,
"TableCellContentMaxWidth": 11,
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
@ -9905,8 +9896,6 @@
{ {
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"TableCellContentWidth": 29,
"TableCellContentMaxWidth": 29,
"Children": [ "Children": [
{ {
"Type": "NodeKbd", "Type": "NodeKbd",
@ -10882,12 +10871,12 @@
"HeadingLevel": 3, "HeadingLevel": 3,
"Properties": { "Properties": {
"id": "20220619001133-tyykggw", "id": "20220619001133-tyykggw",
"updated": "20220901205853" "updated": "20220902200931"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "反向链接" "Data": "反向链接图标"
} }
] ]
}, },
@ -10901,7 +10890,7 @@
"Properties": { "Properties": {
"colgroup": "|", "colgroup": "|",
"id": "20220901205905-c1okxuw", "id": "20220901205905-c1okxuw",
"updated": "20220901210145" "updated": "20220902201015"
}, },
"Children": [ "Children": [
{ {
@ -10963,7 +10952,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "图标拖拽" "Data": "拖拽"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -11001,7 +10990,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Alt+图标拖拽" "Data": "拖拽+Alt"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -11039,7 +11028,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Shift+图标拖拽" "Data": "图标拖拽+Shift"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -11054,9 +11043,213 @@
}, },
{ {
"ID": "20220901210205-d5z8hhk", "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", "Type": "NodeParagraph",
"Properties": { "Properties": {
"id": "20220901210205-d5z8hhk" "id": "20220902201142-hyb8kfm"
} }
} }
] ]

View file

@ -5,7 +5,7 @@
"icon": "2328", "icon": "2328",
"id": "20211226122549-jktxego", "id": "20211226122549-jktxego",
"title": "快捷鍵", "title": "快捷鍵",
"updated": "20220902124426" "updated": "20220902201113"
}, },
"Children": [ "Children": [
{ {
@ -6039,7 +6039,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "⇧⌘>" "Data": "⇧⌘\u003e"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -8897,8 +8897,9 @@
0 0
], ],
"Properties": { "Properties": {
"colgroup": "|",
"id": "20211226122652-n2r88dm", "id": "20211226122652-n2r88dm",
"updated": "20211226012623" "updated": "20220902195513"
}, },
"Children": [ "Children": [
{ {
@ -9482,7 +9483,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Ctrl+Shift+-" "Data": "Ctrl+Shift+_"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -9637,12 +9638,12 @@
"HeadingLevel": 2, "HeadingLevel": 2,
"Properties": { "Properties": {
"id": "20220619002039-klsrtup", "id": "20220619002039-klsrtup",
"updated": "20220619002057" "updated": "20220902200055"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "使用輔助鍵進行點擊" "Data": "點擊/拖拽时使用輔助鍵"
} }
] ]
}, },
@ -9671,7 +9672,7 @@
"Properties": { "Properties": {
"colgroup": "|", "colgroup": "|",
"id": "20211226122652-ykdt6pc", "id": "20211226122652-ykdt6pc",
"updated": "20211228130841" "updated": "20220902200150"
}, },
"Children": [ "Children": [
{ {
@ -9724,9 +9725,21 @@
"Type": "NodeTableCell", "Type": "NodeTableCell",
"Data": "td", "Data": "td",
"Children": [ "Children": [
{
"Type": "NodeKbd",
"Data": "kbd",
"Children": [
{
"Type": "NodeKbdOpenMarker"
},
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "拖拽" "Data": "拖拽"
},
{
"Type": "NodeKbdCloseMarker"
}
]
} }
] ]
} }
@ -10930,12 +10943,12 @@
"HeadingLevel": 3, "HeadingLevel": 3,
"Properties": { "Properties": {
"id": "20220901210742-0cfjjd9", "id": "20220901210742-0cfjjd9",
"updated": "20220901210742" "updated": "20220902200545"
}, },
"Children": [ "Children": [
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "反向鏈接" "Data": "反向鏈接圖標"
} }
] ]
}, },
@ -10949,7 +10962,7 @@
"Properties": { "Properties": {
"colgroup": "|", "colgroup": "|",
"id": "20220901210742-nhc2k8i", "id": "20220901210742-nhc2k8i",
"updated": "20220901210742" "updated": "20220902200550"
}, },
"Children": [ "Children": [
{ {
@ -11011,7 +11024,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "圖標拖拽" "Data": "拖拽"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -11049,7 +11062,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Alt+圖標拖拽" "Data": "拖拽+Alt"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -11087,7 +11100,7 @@
}, },
{ {
"Type": "NodeText", "Type": "NodeText",
"Data": "Shift+圖標拖拽" "Data": "拖拽+Shift"
}, },
{ {
"Type": "NodeKbdCloseMarker" "Type": "NodeKbdCloseMarker"
@ -11099,6 +11112,217 @@
] ]
} }
] ]
},
{
"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"
}
]
}
]
}
]
}
]
},
{
"ID": "20220902195830-i3ncplk",
"Type": "NodeParagraph",
"Properties": {
"id": "20220902195830-i3ncplk"
}
} }
] ]
} }

View file

@ -22,7 +22,6 @@ import {blockRender} from "../markdown/blockRender";
import {processRender} from "./processCode"; import {processRender} from "./processCode";
import {highlightRender} from "../markdown/highlightRender"; import {highlightRender} from "../markdown/highlightRender";
import {uploadLocalFiles} from "../upload"; import {uploadLocalFiles} from "../upload";
import {MenuItem} from "../../menus/Menu";
import {insertHTML} from "./insertHTML"; import {insertHTML} from "./insertHTML";
const dragSb = (protyle: IProtyle, sourceElements: Element[], targetElement: Element, isBottom: boolean, direct: "col" | "row") => { 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) { if (isAllFile) {
window.siyuan.menus.menu.remove(); if (event.altKey) {
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 = ""; let fileText = "";
files.forEach((item) => { files.forEach((item) => {
fileText += `[${path.basename(item)}](file://${item})\n`; fileText += `[${path.basename(item)}](file://${item})\n`;
}); });
insertHTML(protyle.lute.SpinBlockDOM(fileText), protyle); insertHTML(protyle.lute.SpinBlockDOM(fileText), protyle);
} else {
uploadLocalFiles(files, protyle);
} }
}).element);
window.siyuan.menus.menu.popup({x: event.clientX, y: event.clientY});
} else { } else {
uploadLocalFiles(files, protyle); uploadLocalFiles(files, protyle);
} }