如何在一个html页面使用多个kindeditor编辑器
html页面
<tr>
<th width="80">奇葩简介</th>
<td>
<textarea name="qipa_info" id="qipa_info" >{$qipa_info}</textarea>
</td>
</tr>
<tr>
<th width="80">奇葩内容</th>
<td>
<textarea name="qipa_content" id="qipa_content" >{$qipa_content}</textarea>
</td>
</tr>
js初始化编辑器
var options = {
allowFileManager : true,
afterBlur: function () { this.sync(); }
};
var editor = [];
KindEditor.ready(function(K) {
editor[0] = K.create("#qipa_content",options);
editor[1] = K.create("#qipa_info",options);
});