Skip to content

Heading block collapse all sibling headings/collapse all subheadings feature #7929

Open
@Zuoqiu-Yingyi

Description

@Zuoqiu-Yingyi
Contributor

子标题块折叠所有同级标题/折叠所有次级标题功能

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

Activity

jih3657

jih3657 commented on Apr 8, 2023

@jih3657

同意

changed the title [-]子标题块折叠所有同级标题/折叠所有次级标题功能 | Heading block collapse all sibling headings/collapse all subheadings feature[/-] [+]Heading block collapse all sibling headings/collapse all subheadings feature[/+] on Apr 8, 2023
SuperSparta117

SuperSparta117 commented on Apr 10, 2023

@SuperSparta117

对于标题块很多的应用场景,真的很需要

added this to the backlog milestone on Sep 10, 2023
removed this from the backlog milestone on Nov 27, 2023
TCOTC

TCOTC commented on Jun 19, 2024

@TCOTC
Contributor

#11754

In what scenarios do you need this feature?

比如想要折叠 3、4、5 ,就可以先对 3 使用「折叠下方同级标题」、再对 6 使用「展开下方同级标题」:

p.s. 当然实际的应用场景应该有更多的标题和文本,这里只是一个例子

image

Describe the optimal solution

标题块块标增加功能:折叠下方同级标题、展开下方同级标题

不对在超级块、列表块等容器块里的同级标题生效

Other information

这个 issue 还能作为 #11752 需求的一种不够完全的替代方案

Mctalos

Mctalos commented on Jan 2, 2025

@Mctalos

+1,整理标题比较多的长文件,很需要这个功能。

操作逻辑和列表保持一致即可。

wc123888

wc123888 commented on Feb 21, 2025

@wc123888

+++10086

wrwe3888

wrwe3888 commented on Mar 19, 2025

@wrwe3888

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@Mctalos@Zuoqiu-Yingyi@SuperSparta117

      Issue actions

        Heading block collapse all sibling headings/collapse all subheadings feature · Issue #7929 · siyuan-note/siyuan