We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
wangEditor 5 引入了 Prism,这会导致两个问题:
触发这两个问题不需要真的用到 wangEditor 5 的代码高亮功能,只要引入 wangEditor 5 即可;触发第二条的报错也不需要去高亮 php 代码,随便高亮什么代码都行。
我知道这两个问题是因为我全踩了,修了一上午
5.1.23
是,我还把相关源码翻了一圈
script
window.Prism.highlightAllUnder
The text was updated successfully, but these errors were encountered:
请问这个问题解决吗?
Sorry, something went wrong.
No branches or pull requests
问题描述
wangEditor 5 引入了 Prism,这会导致两个问题:
触发这两个问题不需要真的用到 wangEditor 5 的代码高亮功能,只要引入 wangEditor 5 即可;触发第二条的报错也不需要去高亮 php 代码,随便高亮什么代码都行。
我知道这两个问题是因为我全踩了,修了一上午wangEditor 版本
5.1.23
是否查阅了文档 ?
是,我还把相关源码翻了一圈
最小成本的复现步骤
script
或其他方法引入 Prismwindow.Prism.highlightAllUnder
随便高亮什么代码The text was updated successfully, but these errors were encountered: