Skip to content

Improve cursor moving in the code block #11647

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

Closed
3 tasks done
heheda123123 opened this issue Jun 5, 2024 · 9 comments
Closed
3 tasks done

Improve cursor moving in the code block #11647

heheda123123 opened this issue Jun 5, 2024 · 9 comments
Assignees
Milestone

Comments

@heheda123123
Copy link

heheda123123 commented Jun 5, 2024

代码块内移动光标出错

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

添加一个代码块,加入三行内容

aaa
bbb
ccc

光标放在aaa后面,按键盘上的向下,光标会到ccc后面
正确的操作应该是只向下一行

Expected result

按向下的时候,应该只向下移动一行

Screenshot or screen recording presentation

No response

Version environment

- Version: 3.0.17
- Operating System: windows 11
- Browser (if used):

Log file

不涉及

More information

No response

@Vanessa219
Copy link
Member

我这里无法重现,是有什么特殊操作或设置么?

Jietu20240605-100153-HD.mp4

@heheda123123
Copy link
Author

QQ202465-10410.mp4

没有特殊设置,我siyuan一直用的默认配置,就只是开启了行号,加了插入代码块的快捷键
你上面也是在windows测试的嘛?

@88250 88250 added this to the 3.1.0 milestone Jun 5, 2024
@88250 88250 changed the title 代码块内移动光标出错 Improve cursor moving in the code block Jun 5, 2024
Vanessa219 added a commit that referenced this issue Jun 5, 2024
@pisceswb
Copy link

pisceswb commented Jun 7, 2024

建议也取消在正常文本内容的最后一段中按向下箭头时,会直接定位到段落最后的设置,这个设置会对正常使用造成困扰。

@heheda123123
Copy link
Author

建议也取消在正常文本内容的最后一段中按向下箭头时,会直接定位到段落最后的设置,这个设置会对正常使用造成困扰。

还真是有这个问题,不过我自己因为基本不用shift-enter,所以还没发现呢

@pisceswb
Copy link

pisceswb commented Jun 7, 2024

@Vanessa219

@Vanessa219
Copy link
Member

这个是有用户提的需求,但是我找不到出处了 😓

@88250
Copy link
Member

88250 commented Jun 9, 2024

@Vanessa219 我们还需加强一下需求管理。

@pisceswb
Copy link

pisceswb commented Jun 9, 2024

@Vanessa219 我们还需加强一下需求管理。

希望思源笔记不要弄的太臃肿了,相信大部分人还是喜欢简洁美观高效的思源笔记。
个人觉得,大部分人的心理是,自己需要的功能要有,自己不用的别占位置和资源。简洁够用的刚刚好是最完美的状态。
所以,能用插件实现的功能,建议统统用插件实现,需要的用户自己启用。比如我就几乎从来没用到数据库、闪卡、导出、PDF等功能,如果把他们做成个插件的话,我就不会启用他们,这样我就会觉得我的思源笔记很简洁,不容易出错误(尽管知道这可能是心理作用,实际影响不大😂)。
可以弄几个官方插件以满足少量用户的特殊需求,甚至复杂的插件可以有偿使用(如果以官方名义争议较大的话,可以弄个小号😁)

还有,思源笔记的推广可以花钱做一做或给优惠政策让老用户拉一下新人,这么好的笔记,感觉应该推广开来让更多人受益。

@88250
Copy link
Member

88250 commented Jun 9, 2024 via email

copialot pushed a commit to copialot/siyuan that referenced this issue Aug 3, 2024
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

4 participants