Skip to content
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

选中列表项的所有子元素时,可以进行缩进 #13555

Open
Vanessa219 opened this issue Dec 19, 2024 · 0 comments
Open

选中列表项的所有子元素时,可以进行缩进 #13555

Vanessa219 opened this issue Dec 19, 2024 · 0 comments
Assignees
Milestone

Comments

@Vanessa219
Copy link
Member

          选择列表项的所有子元素时,可以考虑缩进列表项。

下面这种选择的情况,不能通过 Tab 进行缩进。
image

目前只能这种的可以缩进。
image

应该是代码里只判断了选中的块是不是都是列表项吧?

如果选择的是某一个列表项的所有子块,是不是可以考虑视作选择了整个列表项?

在下图这种选择的情况下,使用 Tab 缩进时,看作是第二张图这种选中了整个列表项的效果。
image

image

如果是下面这种只选择了部分子块,则不进行处理

image

Originally posted by @Wetoria in #12209 (comment)

@Vanessa219 Vanessa219 self-assigned this Dec 19, 2024
@Vanessa219 Vanessa219 added this to the 3.1.17 milestone Dec 19, 2024
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

1 participant