Open
Description
子标题块折叠所有同级标题/折叠所有次级标题功能
In what scenarios do you need this feature?
与列表块一样, 标题块也是文档层级的一部分, 存在折叠/展开的需求, 希望与列表项的折叠/展开交互逻辑同一
Like list blocks, heading blocks are part of the document hierarchy, and there is a requirement to collapse/expand them, which is expected to be the same logic as the collapse/expand interaction for list items
Describe the optimal solution
操作 | 列表项 | 标题块 |
---|---|---|
点击小三角 | 折叠/展开当前列表项 | 折叠/展开当前标题块 |
Alt + 点击小三角 | 折叠/展开当前列表项的所有次级列表项 | 折叠/展开当前标题块的所有次级标题块 |
Alt + 点击块标 | 折叠/展开当前列表项的所有同级列表项 | 折叠/展开当前标题块的所有同级标题块 |
Describe the candidate solution
No response
Other information
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
jih3657 commentedon Apr 8, 2023
同意
[-]子标题块折叠所有同级标题/折叠所有次级标题功能 | Heading block collapse all sibling headings/collapse all subheadings feature[/-][+]Heading block collapse all sibling headings/collapse all subheadings feature[/+]SuperSparta117 commentedon Apr 10, 2023
对于标题块很多的应用场景,真的很需要
TCOTC commentedon Jun 19, 2024
#11754
In what scenarios do you need this feature?
比如想要折叠 3、4、5 ,就可以先对 3 使用「折叠下方同级标题」、再对 6 使用「展开下方同级标题」:
p.s. 当然实际的应用场景应该有更多的标题和文本,这里只是一个例子
Describe the optimal solution
标题块块标增加功能:折叠下方同级标题、展开下方同级标题
不对在超级块、列表块等容器块里的同级标题生效
Other information
这个 issue 还能作为 #11752 需求的一种不够完全的替代方案
TCOTC commentedon Aug 10, 2024
相关需求:
Mctalos commentedon Jan 2, 2025
+1,整理标题比较多的长文件,很需要这个功能。
操作逻辑和列表保持一致即可。
wc123888 commentedon Feb 21, 2025
+++10086
wrwe3888 commentedon Mar 19, 2025
+1