Ueditor高亮插件SyntaxHighlighter问题修正
如果一行代码太长,就会造成代码块过宽,修改shCoreDefault.css,加上word-break:break-all
.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; border-radius: 4px !important; border-collapse: separate !important; word-break: break-all; }
javascript
© 著作权归作者所有