Skip to content

``` 代码块输入改进 #2731

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
lvzhp opened this issue Aug 26, 2021 · 4 comments
Closed

``` 代码块输入改进 #2731

lvzhp opened this issue Aug 26, 2021 · 4 comments
Assignees
Milestone

Comments

@lvzhp
Copy link

lvzhp commented Aug 26, 2021

输入```时,输入第一个 ` 会失去焦点,需要点击一下思源笔记,
其次,输入完```之后,生成的地方如果直接复制,会赋值在代码块上方,且无法删除。
需要点击一下代码块才能复制。
如图所示:
1

@88250 88250 changed the title 输入代码块后,如果不点击代码块区域,会导致复制的内容在代码块上方,且无法删除 ``` 代码块输入改进 Aug 26, 2021
@88250 88250 added this to the 1.3.0 milestone Aug 26, 2021
@Vanessa219
Copy link
Member

输入第一个 ` 会失去焦点这个无法重现,之前有做过什么操作么?

@lvzhp
Copy link
Author

lvzhp commented Aug 26, 2021

输入第一个 ` 会失去焦点这个无法重现,之前有做过什么操作么?

我可以复现。复现步骤如下:

  1. 输入```之后,不点击代码块区域,直接复制,会出现上面我提到的BUG,
    2.接着CTRL+Z撤回, 然后在输入```
    此时就能出现这个情况了。

如下图
2

@lvzhp
Copy link
Author

lvzhp commented Aug 26, 2021

@Vanessa219

@Vanessa219
Copy link
Member

第一步已经修改好了,无法重现第二步。麻烦下个版本再看看。谢谢

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

3 participants