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

所见即所得模式下的任务列表Bug #96

Closed
ydq opened this issue Jan 31, 2020 · 3 comments
Closed

所见即所得模式下的任务列表Bug #96

ydq opened this issue Jan 31, 2020 · 3 comments
Assignees
Milestone

Comments

@ydq
Copy link

ydq commented Jan 31, 2020

V大D大新年快乐,我又来报告Bug了,直接上图:

vditor-bug

如图所示,在所见即所得模式下,任意空行连续点击任务列表出现与有序 / 无序列表行为不一致的现象,会出现许多堆叠的checkbox框

vditor 版本:2.1.5

  • 预期效果:同有序 / 无序列表一样,多次点击出现toggle效果

另外1: 貌似 vditor 版本2.1.5 在markdown 编辑 / 预览 模式下,无法正确渲染 任务列表【点我看详情】

image

另外2: 所见即所得模式下的 有序 / 无序 按钮 在所见即所得模式下使用上有点混乱【点我看详情】
  • 当光标在有序 / 无序所在行且后面没有内容时,点击有序 / 无序按钮 可以互相切换列表类型或者toggle
  • 当光标在有序 / 无序所在行且后面有内容时,点击有序 / 无序按钮 后第一次是切换列表类型,后面则是先新增一行,然后同时在新的一行切换了列表类型,不看markdown源码单纯从所见即的操作上来看比较令人费解,希望能整体统一一下操作逻辑。
  • 而且任务列表在功能分类上隶属于列表的一种的话,三种类型的操作按钮应该统一体验~~
@88250
Copy link
Collaborator

88250 commented Jan 31, 2020

  1. 任务列表重复添加的问题稍后修复
  2. 任务列表内容为空时不渲染为 input checkbox,但没显示为 list 的问题 lute 需进行修复
  3. 这个问题有点复杂,但应该有解

感谢反馈,新年快乐!

88250 added a commit to 88250/lute that referenced this issue Jan 31, 2020
88250 added a commit to 88250/lute that referenced this issue Jan 31, 2020
88250 added a commit to 88250/lute that referenced this issue Jan 31, 2020
88250 added a commit to 88250/lute that referenced this issue Jan 31, 2020
@Vanessa219 Vanessa219 added this to the 2.1 milestone Jan 31, 2020
88250 added a commit to 88250/lute that referenced this issue Jan 31, 2020
88250 added a commit to 88250/lute that referenced this issue Jan 31, 2020
88250 added a commit to 88250/lute that referenced this issue Jan 31, 2020
@ydq
Copy link
Author

ydq commented Feb 2, 2020

@Vanessa219 V大

堆叠checkbox的问题 貌似没有完全解决哦~

当无聊手贱疯狂点击的时候还是会出现checkbox堆叠的情况

vditor-bug

@88250
Copy link
Collaborator

88250 commented Feb 2, 2020

她说又改了一下,应该好了。社区线上还没发布。

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