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

编辑的时候插入代码,php代码回显反斜杠无法渲染,编辑的时候是否支持单独引入prism 样式和js #5954

Open
luxiafei opened this issue Sep 14, 2024 · 2 comments

Comments

@luxiafei
Copy link

编辑的时候插入代码,php代码回显反斜杠无法渲染,编辑的时候是否支持单独引入prism 样式和js

php代码回显反斜杠无法渲染

wangEditor 版本 5

*php代码回显反斜杠无法渲染了,比如代码:use think\Service; 然后再编辑的时候变成:use thinkService; (字符串确实给了反斜杠,我发现前台显示内容的时候单独引入prism 样式和js 是正常显示的) *
*之后我吧prism 样式和js 单独在后台引入,但是无效;看源码似乎编辑的时候直接集成一个基本prism *
编辑的时候是否支持单独引入prism 样式和js?

@cycleccc
Copy link

cycleccc commented Sep 14, 2024

录个视频看一下吧

@luxiafei
Copy link
Author

luxiafei commented Sep 14, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants