mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-28 19:26:09 +01:00
📝 Support Ctrl+Enter and Ctrl+Click to use static anchor text when searching for block reference https://github.com/siyuan-note/siyuan/issues/8037
This commit is contained in:
parent
38ed2a3300
commit
94df386525
3 changed files with 382 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
|||
"id": "20200924101256-f8b1sbi",
|
||||
"title": "Ref Content Block",
|
||||
"type": "doc",
|
||||
"updated": "20230420123252"
|
||||
"updated": "20230420190018"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -496,6 +496,132 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420185940-emsw72v",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230420185940-emsw72v",
|
||||
"updated": "20230420185940"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "In the "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "(("
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " search result list:"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420185940-z74ufig",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20230420185940-z74ufig",
|
||||
"updated": "20230420190018"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20230420185940-g8mpohi",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20230420185940-g8mpohi",
|
||||
"updated": "20230420190018"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20230420185940-ro5d977",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230420185940-ro5d977",
|
||||
"updated": "20230420190018"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Direct "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Enter"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " or "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Click"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " will use dynamic anchor text"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420185940-ksegxpq",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20230420185940-ksegxpq",
|
||||
"updated": "20230420190017"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20230420185940-ajmbc76",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230420185940-ajmbc76",
|
||||
"updated": "20230420190017"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "Press "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Ctrl+Enter"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " or "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Ctrl+Click"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " to use static anchor text"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420123242-xsz318y",
|
||||
"Type": "NodeHeading",
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"id": "20200813013559-sgbzl5k",
|
||||
"title": "引用内容块",
|
||||
"type": "doc",
|
||||
"updated": "20230420123152"
|
||||
"updated": "20230420190027"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -423,7 +423,7 @@
|
|||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20220623195559-r0greck",
|
||||
"updated": "20220623195906"
|
||||
"updated": "20230420185816"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -543,6 +543,132 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420185651-fqx6ww6",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230420185651-fqx6ww6",
|
||||
"updated": "20230420185832"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "在 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "(("
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 搜索结果列表中:"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420185742-g0vtyx7",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20230420185742-g0vtyx7",
|
||||
"updated": "20230420190027"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20230420185742-14djxj3",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20230420185742-14djxj3",
|
||||
"updated": "20230420190025"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20230420185742-brqgayg",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230420185742-brqgayg",
|
||||
"updated": "20230420190025"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "直接 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Enter"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 或者 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Click"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 将使用动态锚文本"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420185748-ehr9h7w",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20230420185748-ehr9h7w",
|
||||
"updated": "20230420190027"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20230420185748-sb1thir",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230420185748-sb1thir",
|
||||
"updated": "20230420190027"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "按住 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Ctrl+Enter"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 或者 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Ctrl+Click"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 将使用静态锚文本"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420122954-zw10k6f",
|
||||
"Type": "NodeHeading",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
"Properties": {
|
||||
"id": "20211226120247-63nd8y5",
|
||||
"title": "引用内容塊",
|
||||
"updated": "20230420123224"
|
||||
"updated": "20230420190022"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -501,6 +501,132 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420185856-hoesuce",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230420185856-hoesuce",
|
||||
"updated": "20230420185856"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "在 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "(("
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 搜索結果列表中:"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420185856-fpkt2wv",
|
||||
"Type": "NodeList",
|
||||
"ListData": {},
|
||||
"Properties": {
|
||||
"id": "20230420185856-fpkt2wv",
|
||||
"updated": "20230420190022"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20230420185856-4v3g6nz",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20230420185856-4v3g6nz",
|
||||
"updated": "20230420190021"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20230420185856-tnhsmet",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230420185856-tnhsmet",
|
||||
"updated": "20230420190021"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "直接 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Enter"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 或者 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Click"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 將使用動態錨文本"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420185856-jg6anpy",
|
||||
"Type": "NodeListItem",
|
||||
"ListData": {
|
||||
"BulletChar": 42,
|
||||
"Marker": "Kg=="
|
||||
},
|
||||
"Properties": {
|
||||
"id": "20230420185856-jg6anpy",
|
||||
"updated": "20230420190022"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"ID": "20230420185856-nh72xao",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20230420185856-nh72xao",
|
||||
"updated": "20230420190022"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "按住 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Ctrl+Enter"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 或者 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "kbd",
|
||||
"TextMarkTextContent": "Ctrl+Click"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 將使用靜態錨文本"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": "20230420123224-22gd6st",
|
||||
"Type": "NodeHeading",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue