🎨 拖拽资源文件到编辑器中 使用 file:// 绝对路径并链接 功能修改为按住 Alt https://github.com/siyuan-note/siyuan/issues/5795

This commit is contained in:
Liang Ding 2022-09-02 22:02:34 +08:00
parent fe87dc2170
commit 4bf5f8de10
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 94 additions and 22 deletions

View file

@ -5,7 +5,7 @@
"id": "20200924100744-br924ar",
"title": "Assets",
"type": "doc",
"updated": "20220824172918"
"updated": "20220902220108"
},
"Children": [
{
@ -96,7 +96,7 @@
"ListData": {},
"Properties": {
"id": "20220824172815-ckivl7c",
"updated": "20220824172815"
"updated": "20220902220108"
},
"Children": [
{
@ -108,7 +108,7 @@
},
"Properties": {
"id": "20220824172815-q1oeusj",
"updated": "20220824172815"
"updated": "20220902220108"
},
"Children": [
{
@ -116,7 +116,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220824172815-fqyy0l6",
"updated": "20220824172815"
"updated": "20220902220108"
},
"Children": [
{
@ -128,7 +128,7 @@
},
{
"Type": "NodeText",
"Data": "Copy as a resource file and insert"
"Data": "Copy as an asset and insert"
},
{
"Type": "NodeKbdCloseMarker"
@ -168,7 +168,7 @@
},
"Properties": {
"id": "20220824172815-0lsclx1",
"updated": "20220824172815"
"updated": "20220902220045"
},
"Children": [
{
@ -176,7 +176,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220824172815-dqfasin",
"updated": "20220824172815"
"updated": "20220902220045"
},
"Children": [
{
@ -214,6 +214,30 @@
"Type": "NodeKbdCloseMarker"
}
]
},
{
"Type": "NodeText",
"Data": ", or hold down "
},
{
"Type": "NodeKbd",
"Data": "kbd",
"Children": [
{
"Type": "NodeKbdOpenMarker"
},
{
"Type": "NodeText",
"Data": "Alt"
},
{
"Type": "NodeKbdCloseMarker"
}
]
},
{
"Type": "NodeText",
"Data": " and drag in"
}
]
}

View file

@ -5,7 +5,7 @@
"id": "20200915214115-42b8zma",
"title": "资源文件",
"type": "doc",
"updated": "20220824172745"
"updated": "20220902215702"
},
"Children": [
{
@ -96,7 +96,7 @@
"ListData": {},
"Properties": {
"id": "20220824172203-etwu4qu",
"updated": "20220824172531"
"updated": "20220902215702"
},
"Children": [
{
@ -168,7 +168,7 @@
},
"Properties": {
"id": "20220824172403-agsj358",
"updated": "20220824172531"
"updated": "20220902215702"
},
"Children": [
{
@ -176,7 +176,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220824172403-0fkrw8o",
"updated": "20220824172531"
"updated": "20220902215702"
},
"Children": [
{
@ -214,6 +214,30 @@
"Type": "NodeKbdCloseMarker"
}
]
},
{
"Type": "NodeText",
"Data": ",或者按住 "
},
{
"Type": "NodeKbd",
"Data": "kbd",
"Children": [
{
"Type": "NodeKbdOpenMarker"
},
{
"Type": "NodeText",
"Data": "Alt"
},
{
"Type": "NodeKbdCloseMarker"
}
]
},
{
"Type": "NodeText",
"Data": " 后拖入"
}
]
}

View file

@ -4,7 +4,7 @@
"Properties": {
"id": "20211226123038-4umgpxy",
"title": "資料文件",
"updated": "20220824172748"
"updated": "20220902220120"
},
"Children": [
{
@ -91,7 +91,7 @@
"ListData": {},
"Properties": {
"id": "20220824172728-jpp1e8c",
"updated": "20220824172728"
"updated": "20220902220120"
},
"Children": [
{
@ -163,7 +163,7 @@
},
"Properties": {
"id": "20220824172728-deq7vh0",
"updated": "20220824172728"
"updated": "20220902220120"
},
"Children": [
{
@ -171,7 +171,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20220824172728-2gnv8ox",
"updated": "20220824172728"
"updated": "20220902220120"
},
"Children": [
{
@ -209,6 +209,30 @@
"Type": "NodeKbdCloseMarker"
}
]
},
{
"Type": "NodeText",
"Data": ",或者按住 "
},
{
"Type": "NodeKbd",
"Data": "kbd",
"Children": [
{
"Type": "NodeKbdOpenMarker"
},
{
"Type": "NodeText",
"Data": "Alt"
},
{
"Type": "NodeKbdCloseMarker"
}
]
},
{
"Type": "NodeText",
"Data": " 後拖入"
}
]
}

File diff suppressed because one or more lines are too long