HTML代码:

<script type="text/plain" id="editor" name="solcontent" style="height: 500px;width:800px">${smsServiceSolutionprogram.solcontent}</script>

Jquery代码:

$(function(){
        var ue = UE.getEditor(''编辑器ID'');
        ue.ready(function() {
        //不可编辑
        ue.setDisabled();
        });
    });

参考&感谢:https://wwwblogs/wangbiubiu/p/9322156.html

更多推荐

UEditor编辑器设置内容只读(不可编辑)