使用说明
【警告】使用前备份好这个文件,防止有二次开发过。
\include\inc\inc_fun_funAdmin.php
下载上面的压缩包,解压后选择程序对应的编码文件夹,对应的覆盖进去即可。
清空浏览器临时文件,刷新后台,使用ckeditor编辑器。
前台页面显示代码高亮,在内容模板里加入以下代码即可。
<link rel="stylesheet" href="/include/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai_sublime.css">
<script src="/include/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js"></script>
<style>
<!--解决代码换行+圆角-->
pre{font-size:inherit;line-height: inherit;font-family: inherit;white-space: pre-wrap;white-space: -moz-pre-wrap;white-space: -pre-wrap;white-space: -o-pre-wrap;word-wrap: break-word;word-break: break-all;border-radius: 4px;}
</style>
dedecms织梦升级ckeditor4.7.0 + 添加代码高亮插件
【版权声明】
本站部分内容来源于互联网,本站不拥有所有权,不承担相关法律责任。如果发现本站有侵权的内容,欢迎发送邮件至masing@13sy.com 举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。