修正编辑器的单张图片、附件、多媒体 上传和选取无法返回问题;
修改文件有
\include\dialog\select_images.php\include\dialog\select_media.php\include\dialog\select_soft.php
【警告】
使用前备份好这个文件,防止有二次开发过。\include\inc\inc_fun_funAdmin.php
下载上面的压缩包,解压后选择程序对应的编码文件夹,对应的覆盖进去即可。清空浏览器临时文件,刷新后台,使用ckeditor编辑器。
前台页面显示代码高亮,在内容模板里加入以下代码即可。
HTML
<!--前台页面显示代码高亮,在内容模板里加入以下代码即可。-->
<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>