Skip to content

When all sub-blocks of a super-block are selected, merging into a super-block is not supported #13729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TCOTC opened this issue Jan 5, 2025 · 1 comment
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Jan 5, 2025

选中超级块的所有子块时不支持合并为超级块

我觉得在原则上超级块至少要有两个子块(因为删除超级块的子块只剩一个的时候会同时删除超级块),但合并超级块会产生嵌套的超级块,这些超级块只有一个子块。

以及删除子块会出现异常:

video.webm
@Vanessa219 Vanessa219 added this to the 3.1.20 milestone Jan 7, 2025
Vanessa219 added a commit that referenced this issue Jan 7, 2025
@Vanessa219 Vanessa219 changed the title 超级块嵌套问题 父块为超级块的子块不支持合并为超级块 Jan 7, 2025
@TCOTC
Copy link
Contributor Author

TCOTC commented Jan 7, 2025

逻辑不对,应该是选中的块是这个超级块的所有子块时不允许合并超级块

Vanessa219 added a commit that referenced this issue Jan 8, 2025
@TCOTC TCOTC changed the title 父块为超级块的子块不支持合并为超级块 选中超级块的所有子块时不支持合并为超级块 Jan 8, 2025
@88250 88250 changed the title 选中超级块的所有子块时不支持合并为超级块 When all sub-blocks of a super-block are selected, merging into a super-block is not supported Jan 9, 2025
mouyase pushed a commit to mouyase/siyuan that referenced this issue Feb 28, 2025
mouyase pushed a commit to mouyase/siyuan that referenced this issue Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants