高亮问题解决:

加入如下引用和代码

<script src="static/component/ueditor/third-party/SyntaxHighlighter/shCore.js"></script>

    <link href="ueditor/third-party/SyntaxHighlighter/shCoreDefault.css"rel="stylesheet" type="text/css" >

    

    <script type="text/javascript">

$(function(){

        SyntaxHighlighter.all();

    });

</script>




不换行问题解决:

找到

 代码如下:

.syntaxhighlighter{width:100%!important;margin:.3em 0 .3em 0!important;position:relative!important;overflow:auto!important;background-color:#f5f5f5!important;border:1px solid #ccc!important;


代码如下:

.syntaxhighlighter{width:100%!important;margin:.3em 0 .3em 0!important;position:relative!important;overflow:auto!important;background-color:#f5f5f5!important;border:1px solid #ccc!important;word-break:break-all;


就是加上  word-break:break-all;


没有登录不能评论