Skip to content

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

Closed
@88250

Description

Activity

added this to the 1.9.2 milestone on Mar 16, 2022
modified the milestones: 1.9.2, 1.9.1 on Mar 16, 2022
Zuoqiu-Yingyi

Zuoqiu-Yingyi commented on Mar 17, 2022

@Zuoqiu-Yingyi
Contributor

@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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@Zuoqiu-Yingyi

      Issue actions

        折叠后光标移到被折叠块上 · Issue #4265 · siyuan-note/siyuan