<div class="form-group has-feedback">
<label class="col-lg-2 control-label"><?php echo $LoadLanguage['_Title_Information'];?></label><!--概况-->
<div class="col-lg-10">
<textarea id="Information" name="Information" style="width:100%;height:200px;"><?php echo $GLOBALS['Information'];?></textarea>
<script type="text/javascript">
// 代码实例化编辑器
var Information = UE.getEditor('Information',{
toolbars:[
['fullscreen', 'undo', 'redo', '|', 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', '|', 'forecolor', 'backcolor', 'nsertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|', 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|', 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|', 'directionalityltr', 'directionalityrtl', 'indent', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|', 'print', 'preview']
]
});
Information.ready(function() {
// 设置UEditor编辑器不可编辑
Information.setDisabled();
});
</script>
</div>
</div>
设置UEditor编辑器不可编辑
最新推荐文章于 2024-11-04 23:17:23 发布
本文介绍了如何在内容社区中集成UEditor富文本编辑器,允许用户方便地编辑和管理文章内容,包括各种格式化选项和定制样式。


906

被折叠的 条评论
为什么被折叠?



