Skip to content
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

Clicking selected area inside code editor can duplicate content or remove triple backtick #4049

Closed
xxchan opened this issue Jan 25, 2022 · 2 comments

Comments

@xxchan
Copy link
Contributor

xxchan commented Jan 25, 2022

Screenshots

2022-01-25.20-40-48.mp4

Desktop (please complete the following information):
Windows desktop 0.5.9

@xxchan
Copy link
Contributor Author

xxchan commented Jan 25, 2022

I find how to stably reproduce this bug:

  1. double click (or use shift+arrow or use ctrl+A) to select a line in the code block.
  2. click once again anywhere inside the selected area.

Also note that the code block must be newly created. If I focus on another block and come back, the bug cannot be triggered any more.

@xxchan xxchan changed the title Clicking inside codeblock can duplicate content or remove markdown triple backtick Clicking inside codeblock can duplicate content or remove triple backtick Jan 25, 2022
@xxchan xxchan changed the title Clicking inside codeblock can duplicate content or remove triple backtick Clicking selected area inside codeblock can duplicate content or remove triple backtick Jan 25, 2022
@xxchan xxchan changed the title Clicking selected area inside codeblock can duplicate content or remove triple backtick Clicking selected area inside code editor can duplicate content or remove triple backtick Jan 27, 2022
@xxchan
Copy link
Contributor Author

xxchan commented Mar 22, 2022

#4565 fixed by #4567

@xxchan xxchan closed this as completed Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant