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

Improve responsiveness of code blocks #11274

Closed
TCOTC opened this issue May 6, 2024 · 2 comments
Closed

Improve responsiveness of code blocks #11274

TCOTC opened this issue May 6, 2024 · 2 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented May 6, 2024

同时开启了 代码块显示行号代码块换行 的代码块,在编辑器宽度改变后需要刷新

In what scenarios do you need this feature?

image

要刷新一下行号才对:

代码

Describe the optimal solution

同时开启了「代码块显示行号」和「代码块换行」的代码块,在编辑器宽度改变后需要刷新

Describe the candidate solution

No response

Other information

No response

@TCOTC TCOTC changed the title 同时开启了「代码块显示行号」和「代码块换行」的代码块,在编辑器宽度改变后需要刷新 同时开启了 代码块显示行号代码块换行 的代码块,在编辑器宽度改变后需要刷新 May 6, 2024
@Vanessa219 Vanessa219 changed the title 同时开启了 代码块显示行号代码块换行 的代码块,在编辑器宽度改变后需要刷新 Improve responsiveness of code blocks May 10, 2024
@Vanessa219 Vanessa219 added this to the 3.0.14 milestone May 10, 2024
Vanessa219 added a commit that referenced this issue May 10, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented May 12, 2024

@Vanessa219 视频前半部分改变边距的时候代码块是不会变化的(只有里面的文本变化),但后半部分改变边距时会移动:

default.webm

@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

2 participants