Skip to content

Some copy issues related to HTML block #8706

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
Geo123abc opened this issue Jul 8, 2023 · 0 comments
Closed
3 tasks done

Some copy issues related to HTML block #8706

Geo123abc opened this issue Jul 8, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@Geo123abc
Copy link

Geo123abc commented Jul 8, 2023

和HTML块有关的复制bug

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

复制html块中部分内容的bug

鼠标选中一个HTML块中的部分内容,此时被选中的内容会高亮,然后Ctrl+C,

  1. 如果显示选中的高亮消失,此时没有复制选中内容到剪贴板中;
  2. 如果显示选中的高亮不消失,此时成功复制选中内容到剪贴板中;

一般是在这两种状态间循环按顺序循环

复制HTML块的bug

一个HTML块,这个HTML块上面和下面都有几个空的普通块,

  1. 鼠标由上向下滑动选中多个块(包含HTML块),Ctrl+C,可以成功复制HTML块;
  2. 鼠标由上向下滑动选中多个块(包含HTML块),右键--复制--复制(Ctrl+C),可以成功复制HTML块;
  3. 鼠标由下向上滑动选中多个块(包含HTML块),Ctrl+C,复制HTML块失败;
  4. 鼠标由下向上滑动选中多个块(包含HTML块),右键--复制--复制(Ctrl+C),可以成功复制HTML块;

除了HTML,不知道其他类型的块,比如公式之类的,是否也存在这个问题

Expected result

  1. 在HTML块中选中部分内容,每次Ctrl+C都能复制选中的内容;
  2. Ctrl+C 和 点击右键--复制--复制(Ctrl+C)两者的一致性,即都能复制成功;

Screenshot or screen recording presentation

No response

Version environment

- Version: v2.9.4
- Operating System: windows 10
- Browser (if used):

Log file

More information

No response

@Vanessa219 Vanessa219 added the Bug label Jul 8, 2023
@Vanessa219 Vanessa219 added this to the 2.9.5 milestone Jul 8, 2023
@88250 88250 changed the title 和HTML块有关的复制bug Some copy issues related to HTML block Jul 8, 2023
Vanessa219 added a commit that referenced this issue Jul 8, 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

2 participants