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

列表 Tab 带子项层级缩进 #1397

Closed
wo4wangle opened this issue Feb 1, 2021 · 1 comment
Closed

列表 Tab 带子项层级缩进 #1397

wo4wangle opened this issue Feb 1, 2021 · 1 comment
Assignees
Milestone

Comments

@wo4wangle
Copy link

wo4wangle commented Feb 1, 2021

描述问题 Describe the problem

tab.shift.tab.mp4

如视频, 在2处tab:不携带子项进行整体层级调整
但是在3处shift tab:就携带子项进行整体层级调整
这种不一致会给人造成困惑:为什么反向缩进就携带子项,而正向缩进就不携带子项呢
这样的性质在word里也没有

期待的结果 Expected result

我的看法是:正向也携带子项
几乎所有以 列表见长 的软件都是 携带子项缩进的:如同样基于markdown的logseq也是携带了子项调整

因为子项在编辑过程种就有“属于父项”的含义
缩进不单单是格式上的缩进,也是层级调整,而层级是关联的,不是孤立的
就如移动一个文件夹的层级,自然就会携带其子文件夹和文件 一起移动 一般

doc中的列表缩进更多是配合页面尺标在做,而不是层级:相邻列表项的缩进差甚至可以横跨一个页宽
思源是基于markdown,而非doc,思源应该选更适合markdown的列表层次,而不是doc的列表缩进

且 拖放调解 主要方便在列表项上下顺序的调整,而不是列表项左右层级的调整
因为 拖放 预览的是横线,而不是竖线,横线分隔上下清晰,但是分隔左右不清晰
拖放也需要经过 多次悬停等待,按键更高效和准确

版本环境 Version environment

  • 版本 Version:0.7.5
@88250
Copy link
Member

88250 commented Feb 1, 2021

感谢建议,后期考虑。

@88250 88250 changed the title 列表 tab和shift tab 不一致 问题 列表 Tab 带子项层级缩进 Feb 2, 2021
@88250 88250 added this to the 0.7.8 milestone Feb 2, 2021
@88250 88250 closed this as completed Feb 2, 2021
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

3 participants