This is normal code display (from the database), highlighting is not turned on at this time
Enable highlighting as follows in the document:
<script type="text/javascript" charset="utf-8" src="./ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" charset="utf-8" src="./ueditor/lang/zh-cn/zh-cn.js"></script>
<script>
SyntaxHighlighter.all();
</script>
Afterwards, the code displayed on the web page does show the highlight, but the scroll bar is lost
How can I have both highlighting and scroll bars?
滿天的星座2017-05-16 13:44:16
<script type="text/javascript" charset="utf-8" src="./ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" charset="utf-8" src="./ueditor/lang/zh-cn/zh-cn.js"></script>
<script>
SyntaxHighlighter.all();
</script>