halo-sigs / halo-sigs/plugin-highlightjs

默认编辑器有时出现极其卡顿的情况并一直保持这种卡顿,确定并不是电脑本身卡顿

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
11
Forks
9
PR merge metrics
No merged PRs in 30d

Description

引用:https://github.com/halo-dev/halo/issues/4389

我现在卡顿非常非常严重但是只出现在代码块,其他的地方一点也不卡,我测试关闭 **highlight.js 代码高亮** 这个插件后一切都恢复正常了不再卡顿,我怀疑问题出在 **highlight.js 代码高亮** 这个插件上,大量的内容需要使用它进行样式渲染导致卡顿?只要我编写的文件内容非常大的并且**highlight.js 代码高亮**处于启用状态,在代码块中输入内容就会非常卡顿。

![Image](https://github.com/user-attachments/assets/1e1fb24c-63c3-4f84-a153-e2e5f32ef0f9)
![Image](https://github.com/user-attachments/assets/3c91a82d-d8e1-4af3-bf48-cbffc45a0039)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.