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

折叠后光标移到被折叠块上 #4265

Closed
88250 opened this issue Mar 16, 2022 · 1 comment
Closed

折叠后光标移到被折叠块上 #4265

88250 opened this issue Mar 16, 2022 · 1 comment
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Mar 16, 2022

https://ld246.com/article/1647397123809

@88250 88250 added this to the 1.9.2 milestone Mar 16, 2022
@Vanessa219 Vanessa219 modified the milestones: 1.9.2, 1.9.1 Mar 16, 2022
@Zuoqiu-Yingyi
Copy link
Contributor

Zuoqiu-Yingyi commented Mar 17, 2022

@Vanessa219 v1.9.1 列表折叠依旧存在一个问题: 光标会移动至被折叠的子列表项

复现方案:

  1. 打开 思源笔记用户指南>请从这里开始>编辑器>排版元素
  2. 使用方向键 一直向下移动
  3. 移动至 无序列表有序列表 中折叠的列表项 GoJava 时再按 看起来光标会移动至该列表项末尾, 实际通过 window.getSelection().focusNode.parentElement 发现焦点位于被折叠的子列表项中, 且此时使用 Backspace 也会删除被折叠的子列表中的内容
    思源笔记-bug反馈-16

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