An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: Support shortcuts for folding heading groups https://github.com/siyuan-note/siyuan/issues/7929
Daniel79b810d5888f
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.syindex 34b43459fe..2225c1f12d 100644--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy@@ -8,7 +8,7 @@"title": "Formatting elements","title-img": "background-color:#269;background-image: linear-gradient(white 2px, transparent 2px),linear-gradient(90deg, white 2px, transparent 2px),linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;","type": "doc",- "updated": "20260616224215"+ "updated": "20260730103436"},"Children": [{@@ -1025,6 +1025,34 @@}]},+ {+ "ID": "20260730103436-f9q2v5b",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260730103436-f9q2v5b",+ "updated": "20260730103436"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Click the triangle to the left of a heading to fold or expand the current heading; Alt-click (⌥-click on macOS) the triangle to fold or expand its direct subheadings; Alt-click (⌥-click on macOS) the block icon to fold or expand sibling headings. You can also use “Fold/expand direct subheadings” and “Fold/expand sibling headings” in the block icon menu."+ }+ ]+ },+ {+ "ID": "20260730103436-r4m7z1k",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260730103436-r4m7z1k",+ "updated": "20260730103436"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "The shortcuts for these two operations are unassigned by default and can be configured in Settings - Keymap - Editor."+ }+ ]+ },{"ID": "20210104091509-6uxwbx1","Type": "NodeHeading",@@ -3767,4 +3795,4 @@]}]-}\ No newline at end of file+}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 c2905e836d..af305b4d86 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@@ -7,7 +7,7 @@"id": "20200924100950-9op5xi1","title": "Shortcuts","type": "doc",- "updated": "20260728202615"+ "updated": "20260730104311"},"Children": [{@@ -7290,72 +7290,6 @@}]},- {- "Type": "NodeTableRow",- "Data": "tr",- "Children": [- {- "Type": "NodeTableCell",- "Data": "td",- "Children": [- {- "Type": "NodeText",- "Data": "Fold/Expand Recursively"- }- ]- },- {- "Type": "NodeTableCell",- "Data": "td",- "Children": [- {- "Type": "NodeText",- "Data": ""- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "Ctrl"- },- {- "Type": "NodeText",- "Data": "+"- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "Alt"- },- {- "Type": "NodeText",- "Data": "+"- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "↑"- },- {- "Type": "NodeText",- "Data": " / "- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "⌥⌘↑"- },- {- "Type": "NodeText",- "Data": ""- }- ]- },- {- "Type": "NodeTableCell",- "Data": "td"- }- ]- },{"Type": "NodeTableRow","Data": "tr",@@ -11161,6 +11095,120 @@]}]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Fold/expand direct subheadings"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Unassigned by default; configure in Settings - Keymap - Editor"+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Fold/expand sibling headings"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Unassigned by default; configure in Settings - Keymap - Editor"+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "Fold/Expand Recursively"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Ctrl"+ },+ {+ "Type": "NodeText",+ "Data": "+"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Alt"+ },+ {+ "Type": "NodeText",+ "Data": "+"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "↑"+ },+ {+ "Type": "NodeText",+ "Data": " / "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "⌥⌘↑"+ },+ {+ "Type": "NodeText",+ "Data": ""+ }+ ]+ }+ ]}]},diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.syindex 1ddc94bc73..4c127d5188 100644--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy@@ -8,7 +8,7 @@"title": "排版元素","title-img": "background-color: hsl(2, 57%, 40%);background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(270deg, transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(125deg, transparent, transparent 2px, rgba(0,0,0,.2) 2px, rgba(0,0,0,.2) 3px, transparent 3px, transparent 5px, rgba(0,0,0,.2) 5px);","type": "doc",- "updated": "20260616224229"+ "updated": "20260730103436"},"Children": [{@@ -1036,6 +1036,34 @@}]},+ {+ "ID": "20260730103436-h7n2k4m",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260730103436-h7n2k4m",+ "updated": "20260730103436"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "点击标题左侧三角可折叠或展开当前标题;按住 Alt(macOS 上为 ⌥)点击三角可折叠或展开直接子标题;按住 Alt(macOS 上为 ⌥)点击块标可折叠或展开同级标题。也可以使用块标菜单中的「折叠/展开直接子标题」和「折叠/展开同级标题」。"+ }+ ]+ },+ {+ "ID": "20260730103436-p3w8c6x",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260730103436-p3w8c6x",+ "updated": "20260730103436"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "这两个操作的快捷键默认为空,可在设置 - 快捷键 - 编辑器中配置。"+ }+ ]+ },{"ID": "20210104091228-okx8vv6","Type": "NodeHeading",@@ -3769,4 +3797,4 @@]}]-}\ No newline at end of file+}diff --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 21356f4b2a..f6218bcca6 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@@ -7,7 +7,7 @@"id": "20200813004551-gm0pbn1","title": "快捷键","type": "doc",- "updated": "20260728202615"+ "updated": "20260730104311"},"Children": [{@@ -7323,72 +7323,6 @@}]},- {- "Type": "NodeTableRow",- "Data": "tr",- "Children": [- {- "Type": "NodeTableCell",- "Data": "td",- "Children": [- {- "Type": "NodeText",- "Data": "逐层折叠/展开"- }- ]- },- {- "Type": "NodeTableCell",- "Data": "td",- "Children": [- {- "Type": "NodeText",- "Data": ""- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "Ctrl"- },- {- "Type": "NodeText",- "Data": "+"- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "Alt"- },- {- "Type": "NodeText",- "Data": "+"- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "↑"- },- {- "Type": "NodeText",- "Data": " / "- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "⌥⌘↑"- },- {- "Type": "NodeText",- "Data": ""- }- ]- },- {- "Type": "NodeTableCell",- "Data": "td"- }- ]- },{"Type": "NodeTableRow","Data": "tr",@@ -11153,6 +11087,120 @@]}]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "折叠/展开直接子标题"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "默认为空,可在设置 - 快捷键 - 编辑器中配置"+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "折叠/展开同级标题"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "默认为空,可在设置 - 快捷键 - 编辑器中配置"+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "逐层折叠/展开"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Ctrl"+ },+ {+ "Type": "NodeText",+ "Data": "+"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Alt"+ },+ {+ "Type": "NodeText",+ "Data": "+"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "↑"+ },+ {+ "Type": "NodeText",+ "Data": " / "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "⌥⌘↑"+ },+ {+ "Type": "NodeText",+ "Data": ""+ }+ ]+ }+ ]}]},diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.syindex 6b7a2d0a61..427061645a 100644--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy@@ -8,7 +8,7 @@"title": "排版元素","title-img": "background-color: hsl(2, 57%, 40%);background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(270deg, transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(125deg, transparent, transparent 2px, rgba(0,0,0,.2) 2px, rgba(0,0,0,.2) 3px, transparent 3px, transparent 5px, rgba(0,0,0,.2) 5px);","type": "doc",- "updated": "20260616224253"+ "updated": "20260730103436"},"Children": [{@@ -1033,6 +1033,34 @@}]},+ {+ "ID": "20260730103436-t6y3n8d",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260730103436-t6y3n8d",+ "updated": "20260730103436"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "點選標題左側三角可摺疊或展開目前標題;按住 Alt(macOS 上為 ⌥)點選三角可摺疊或展開直接子標題;按住 Alt(macOS 上為 ⌥)點選塊標可摺疊或展開同級標題。也可以使用塊標選單中的「摺疊/展開直接子標題」和「摺疊/展開同級標題」。"+ }+ ]+ },+ {+ "ID": "20260730103436-w2c9g5p",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260730103436-w2c9g5p",+ "updated": "20260730103436"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "這兩個操作的快速鍵預設為空,可在設定 - 快速鍵 - 編輯器中設定。"+ }+ ]+ },{"ID": "20211226122008-okjrfke","Type": "NodeHeading",@@ -3739,4 +3767,4 @@}}]-}\ No newline at end of file+}diff --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 372a0df6c2..709be643f3 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@@ -7,7 +7,7 @@"id": "20211226122549-jktxego","title": "快捷鍵","type": "doc",- "updated": "20260728202615"+ "updated": "20260730104311"},"Children": [{@@ -7340,72 +7340,6 @@}]},- {- "Type": "NodeTableRow",- "Data": "tr",- "Children": [- {- "Type": "NodeTableCell",- "Data": "td",- "Children": [- {- "Type": "NodeText",- "Data": "逐層摺疊/展開"- }- ]- },- {- "Type": "NodeTableCell",- "Data": "td",- "Children": [- {- "Type": "NodeText",- "Data": ""- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "Ctrl"- },- {- "Type": "NodeText",- "Data": "+"- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "Alt"- },- {- "Type": "NodeText",- "Data": "+"- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "↑"- },- {- "Type": "NodeText",- "Data": " / "- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "⌥⌘↑"- },- {- "Type": "NodeText",- "Data": ""- }- ]- },- {- "Type": "NodeTableCell",- "Data": "td"- }- ]- },{"Type": "NodeTableRow","Data": "tr",@@ -11219,6 +11153,120 @@]}]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "摺疊/展開直接子標題"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "預設為空,可在設定 - 快速鍵 - 編輯器中設定"+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "摺疊/展開同級標題"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "預設為空,可在設定 - 快速鍵 - 編輯器中設定"+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "逐層摺疊/展開"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Ctrl"+ },+ {+ "Type": "NodeText",+ "Data": "+"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Alt"+ },+ {+ "Type": "NodeText",+ "Data": "+"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "↑"+ },+ {+ "Type": "NodeText",+ "Data": " / "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "⌥⌘↑"+ },+ {+ "Type": "NodeText",+ "Data": ""+ }+ ]+ }+ ]}]},diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-xsbxokr.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-xsbxokr.syindex a92544df96..967f861834 100644--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-xsbxokr.sy+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-xsbxokr.sy@@ -9,7 +9,7 @@"id": "20240530101000-xsbxokr","title": "ショートカット","type": "doc",- "updated": "20260728202615"+ "updated": "20260730104311"},"Children": [{@@ -7307,72 +7307,6 @@}]},- {- "Type": "NodeTableRow",- "Data": "tr",- "Children": [- {- "Type": "NodeTableCell",- "Data": "td",- "Children": [- {- "Type": "NodeText",- "Data": "レベルごとに折りたたみ/展開"- }- ]- },- {- "Type": "NodeTableCell",- "Data": "td",- "Children": [- {- "Type": "NodeText",- "Data": ""- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "Ctrl"- },- {- "Type": "NodeText",- "Data": "+"- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "Alt"- },- {- "Type": "NodeText",- "Data": "+"- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "↑"- },- {- "Type": "NodeText",- "Data": " / "- },- {- "Type": "NodeTextMark",- "TextMarkType": "kbd",- "TextMarkTextContent": "⌥⌘↑"- },- {- "Type": "NodeText",- "Data": ""- }- ]- },- {- "Type": "NodeTableCell",- "Data": "td"- }- ]- },{"Type": "NodeTableRow","Data": "tr",@@ -11127,6 +11061,120 @@]}]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "直接の子見出しを折りたたむ/展開"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "デフォルトでは未設定です。設定 - ショートカット - エディタで設定できます"+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "同階層の見出しを折りたたむ/展開"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "デフォルトでは未設定です。設定 - ショートカット - エディタで設定できます"+ }+ ]+ }+ ]+ },+ {+ "Type": "NodeTableRow",+ "Data": "tr",+ "Children": [+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": "レベルごとに折りたたみ/展開"+ }+ ]+ },+ {+ "Type": "NodeTableCell",+ "Data": "td",+ "Children": [+ {+ "Type": "NodeText",+ "Data": ""+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Ctrl"+ },+ {+ "Type": "NodeText",+ "Data": "+"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "Alt"+ },+ {+ "Type": "NodeText",+ "Data": "+"+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "↑"+ },+ {+ "Type": "NodeText",+ "Data": " / "+ },+ {+ "Type": "NodeTextMark",+ "TextMarkType": "kbd",+ "TextMarkTextContent": "⌥⌘↑"+ },+ {+ "Type": "NodeText",+ "Data": ""+ }+ ]+ }+ ]}]},diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-hnu6o79/20240530101000-3qhz7br.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-hnu6o79/20240530101000-3qhz7br.syindex 054bfd9791..1dc0b78abf 100644--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-hnu6o79/20240530101000-3qhz7br.sy+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-hnu6o79/20240530101000-3qhz7br.sy@@ -9,7 +9,7 @@"title": "書式要素","title-img": "background-color:#269;background-image: linear-gradient(white 2px, transparent 2px),linear-gradient(90deg, white 2px, transparent 2px),linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;","type": "doc",- "updated": "20260616224517"+ "updated": "20260730103436"},"Children": [{@@ -1115,6 +1115,34 @@}]},+ {+ "ID": "20260730103436-j8s4u2a",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260730103436-j8s4u2a",+ "updated": "20260730103436"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "見出し左側の三角形をクリックすると現在の見出しを折りたたみ/展開できます。Alt キー(macOS では ⌥ キー)を押しながら三角形をクリックすると直接の子見出しを折りたたみ/展開でき、同じキーを押しながらブロックアイコンをクリックすると同階層の見出しを折りたたみ/展開できます。ブロックアイコンメニューの「直接の子見出しを折りたたむ/展開」と「同階層の見出しを折りたたむ/展開」も使用できます。"+ }+ ]+ },+ {+ "ID": "20260730103436-k5e7x3r",+ "Type": "NodeParagraph",+ "Properties": {+ "id": "20260730103436-k5e7x3r",+ "updated": "20260730103436"+ },+ "Children": [+ {+ "Type": "NodeText",+ "Data": "これら 2 つの操作のショートカットはデフォルトでは未設定です。設定 - ショートカット - エディタで設定できます。"+ }+ ]+ },{"ID": "20240530101000-dsn71f4","Type": "NodeHeading",@@ -4026,4 +4054,4 @@}}]-}\ No newline at end of file+}diff --git a/app/src/constants.ts b/app/src/constants.tsindex b2edc94d8c..63fe8fbe74 100644--- a/app/src/constants.ts+++ b/app/src/constants.ts@@ -523,6 +523,8 @@ export abstract class Constants {expandUp: {default: "⌥⇧↑", custom: "⌥⇧↑"},expand: {default: "⌘↓", custom: "⌘↓"},collapse: {default: "⌘↑", custom: "⌘↑"},+ foldChildHeadings: {default: "", custom: ""},+ foldSiblingHeadings: {default: "", custom: ""},foldRecursive: {default: "⌥⌘↑", custom: "⌥⌘↑"},insertBottom: {default: "⌥⌘.", custom: "⌥⌘."},refTab: {default: "⇧⌘.", custom: "⇧⌘."},diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex eddeda5c45..78c3dfa83d 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -2887,6 +2887,7 @@ export class Gutter {id: "foldChildHeadings",icon: "iconHeadings",label: window.siyuan.languages.foldChildHeadings,+ accelerator: window.siyuan.config.keymap.editor.general.foldChildHeadings.custom,async click() {await foldHeadingGroup(protyle, nodeElement, "children");focusBlock(nodeElement);@@ -2896,7 +2897,9 @@ export class Gutter {id: "foldSiblingHeadings",icon: "iconHeadings",label: window.siyuan.languages.foldSiblingHeadings,- accelerator: updateHotkeyTip("⌥" + window.siyuan.languages.click),+ accelerator: window.siyuan.config.keymap.editor.general.foldSiblingHeadings.custom ++ (window.siyuan.config.keymap.editor.general.foldSiblingHeadings.custom ? "/" : "") ++ updateHotkeyTip("⌥" + window.siyuan.languages.click),async click() {hideElements(["gutter"], protyle);await foldHeadingGroup(protyle, nodeElement, "siblings");diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.tsindex 9cb03dfef8..93bde9e37a 100644--- a/app/src/protyle/wysiwyg/keydown.ts+++ b/app/src/protyle/wysiwyg/keydown.ts@@ -62,7 +62,7 @@ import {openBy, openFileById} from "../../editor/util";/// #endifimport {alignImgCenter, alignImgLeft, commonHotkey, downSelect, getStartEndElement, upSelect} from "./commonHotkey";import {fileAnnotationRefMenu, inlineMathMenu, linkMenu, refMenu, tagMenu} from "../../menus/protyle";-import {foldBlocksRecursively, getFoldBlock, setFold} from "../util/blockFold";+import {foldBlocksRecursively, foldHeadingGroup, getFoldBlock, setFold} from "../util/blockFold";import {openAttr} from "../../menus/commonMenuItem";import {Constants} from "../../constants";import {fetchPost} from "../../util/fetch";@@ -368,6 +368,26 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {return;}+ if (matchHotKey(window.siyuan.config.keymap.editor.general.foldChildHeadings.custom, event) && !event.repeat) {+ getFoldBlock(protyle, nodeElement, (elements) => {+ foldHeadingGroup(protyle, elements[0], "children");+ });+ hideElements(["gutter"], protyle);+ event.stopPropagation();+ event.preventDefault();+ return;+ }++ if (matchHotKey(window.siyuan.config.keymap.editor.general.foldSiblingHeadings.custom, event) && !event.repeat) {+ getFoldBlock(protyle, nodeElement, (elements) => {+ foldHeadingGroup(protyle, elements[0], "siblings");+ });+ hideElements(["gutter"], protyle);+ event.stopPropagation();+ event.preventDefault();+ return;+ }+if (matchHotKey(window.siyuan.config.keymap.editor.general.foldRecursive.custom, event) && !event.repeat) {getFoldBlock(protyle, nodeElement, (elements) => {foldBlocksRecursively(protyle, elements);diff --git a/app/src/types/config.d.ts b/app/src/types/config.d.tsindex 8f767cd6af..c6ac7ff801 100644--- a/app/src/types/config.d.ts+++ b/app/src/types/config.d.ts@@ -1101,6 +1101,8 @@ declare namespace Config {attr: IKey;backlinks: IKey;collapse: IKey;+ foldChildHeadings: IKey;+ foldSiblingHeadings: IKey;foldRecursive: IKey;copyBlockEmbed: IKey;copyBlockRef: IKey;