这个是主编辑器:
<link rel="stylesheet" href="kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="kindeditor/plugins/code/prettify.css" />
<script charset="utf-8" src="kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="kindeditor/lang/zh_CN.js"></script>
<script charset="utf-8" src="kindeditor/plugins/code/prettify.js"></script>
<script>
KindEditor.ready(function(K) {
var editor1 = K.create('textarea[name="content1"]', {
afterCreate : function() {
this.sync();
},
afterBlur:function(){
this.sync();
} ,
cssPath : 'kindeditor/plugins/code/prettify.css',
uploadJson : 'kindeditor/asp/upload_json.asp',
fileManagerJson : 'kindeditor/asp/file_manager_json.asp',
allowFileManager : true
});
prettyPrint();
});
</script>
=====================================================
我是想再加几个自定义的编辑器,一个页面多个编辑器,比方自定义的是
items : [
'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist', '|', 'emoticons', 'image', 'link']
如何跟主编辑器拼在一起呀,还请大师赐教,谢谢啦!