Skip to content

Improve Shift+↑/↓ selection #11671

Closed
Closed
@allrobot

Description

@allrobot

代码块内部shift+↑无法选中上一行,而是选中整个代码块

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

看图,已关闭所有插件仍然引发该问题

Expected result

shift无法选中一行代码,思源给选中该块了,俺寻思之前应该是正常选代码块里面的一行,不应该是全选的

Screenshot or screen recording presentation

SiYuan_jSikJWA3aa

Version environment

- Version: latest
- Operating System: win10
- Browser (if used):

Log file

siyuan.log

More information

No response

Activity

changed the title [-]代码块内部shift+↑无法选中上一行,而是选中整个代码块[/-] [+]Improve Shift+↑ selection[/+] on Jun 12, 2024
added this to the 3.1.0 milestone on Jun 12, 2024
changed the title [-]Improve Shift+↑ selection[/-] [+]Improve Shift+↑/↓ selection[/+] on Jun 12, 2024
added a commit that references this issue on Jun 12, 2024
added a commit that references this issue on Jun 12, 2024
allrobot

allrobot commented on Jun 14, 2024

@allrobot
Author
Vanessa219

Vanessa219 commented on Jun 17, 2024

@Vanessa219
Member

md 中没有 kbd 的语法,没有的话都会使用标签。

TCOTC

TCOTC commented on Jun 17, 2024

@TCOTC
Contributor

但问题不是没粘贴出来吗?

88250

88250 commented on Jun 17, 2024

@88250
Member

@allrobot 上次处理的是 code 元素 #11401 ,这次处理 kbd

TCOTC

TCOTC commented on Jun 17, 2024

@TCOTC
Contributor

这还是单独处理的吗?为什么不同时处理所有的行级元素呢?

88250

88250 commented on Jun 17, 2024

@88250
Member

嗯,我就是这个意思,刚刚没打全 😂

26 remaining items

Loading
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@allrobot@TCOTC

      Issue actions

        Improve Shift+↑/↓ selection · Issue #11671 · siyuan-note/siyuan