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

Prism.js代码高亮组件 添加 复制代码 按钮抛出异常 #868

Closed
ImKK666 opened this issue Mar 30, 2024 · 2 comments
Closed

Prism.js代码高亮组件 添加 复制代码 按钮抛出异常 #868

ImKK666 opened this issue Mar 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ImKK666
Copy link

ImKK666 commented Mar 30, 2024

问题出处:
https://92.run/2024/03/30/league-of-legendslolriot-servers-bypass-inline-hook/

实际行为描述:
使用 Prism.js 代码高亮组件
缺失了 复制代码 的按钮 及其 功能

预期的行为:
正确的添加 复制代码按钮 及其功能

复现步骤:
如图设置:
image

然后 新建文章 添加一个HTML内容 键入

<pre><code class="language-cpp">
printf("test");
</code></pre>

发布 打开就可以 观察到

配置与环境:

截图(若有)
image
image

补充信息:
测试 发现 Highlightjs.js 也会 出现这个问题 有待各位复现

@ImKK666 ImKK666 added the bug Something isn't working label Mar 30, 2024
Copy link

@ImKK666,感谢你给 sakurairo 提出了 issue。ヾ(≧▽≦*)o
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@kanodaisuki
Copy link
Contributor

嗯,这个问题其实已经修了,但是还没有发布新版,等待版本更新吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants