Skip to content

When editing the same block in split tab, the cursor switches between different editors #9063

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
Zuoqiu-Yingyi opened this issue Aug 28, 2023 · 0 comments
Closed
3 tasks done
Assignees
Labels
Milestone

Comments

@Zuoqiu-Yingyi
Copy link
Contributor

Zuoqiu-Yingyi commented Aug 28, 2023

分屏编辑同一个块时光标在不同编辑器之间切换

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

当在同一个窗口打开多个编辑器编辑同一个文档时 (多个页签, 多个浮窗), 光标会在不同编辑器之间自动切换导致无法正常编辑
When opening multiple editors in the same window to edit the same document (multiple tabs, multiple floating panels), the cursor will automatically switch between different editors, resulting in an inability to edit properly.

复现步骤:

  1. 打开一个文档, 设该编辑器为 1
  2. 使用其他页签/悬浮面板打开同一个文档, 设该编辑器为 2
  3. 在编辑器 1 中输入一些文本, 编辑器 2 在同步编辑器 1 中内容时光标也随之切换到编辑器 2 中
  4. 在编辑器 1 中使用 Back 删除一些文本, 编辑器 2 在同步编辑器 1 中内容时光标也随之切换到编辑器 2 中

Expected result

同步编辑器中内容时不更改当前光标位置
Synchronizing content in the editor does not change the current cursor position

Screenshot or screen recording presentation

思源笔记-bug反馈-51

Version environment

- Version: 2.10.2-dev1
- Operating System: 
- Browser (if used):

Log file

无有效信息输出
No valid information output

More information

No response

@88250 88250 changed the title 分屏编辑同一个块时光标在不同编辑器之间切换 | When editing the same block in split panel, the cursor switches between different editors When editing the same block in split tab, the cursor switches between different editors Aug 28, 2023
@88250 88250 added the Bug label Aug 28, 2023
@88250 88250 added this to the 2.10.2 milestone Aug 28, 2023
Vanessa219 added a commit that referenced this issue Aug 28, 2023

Verified

This commit was signed with the committer’s verified signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants