在一个页面使用多个 kindeditor编辑器
作者:
耍帅oldboy | 来源:发表于
2021-06-23 10:02 被阅读0次<tr>
<th width="80">简介</th>
<td>
<textarea name="introduction" id="introduction" >{pigcms{$news.introduction}</textarea>
</td>
</tr>
<tr>
<th width="80">内容</th>
<td>
<textarea name="content" id="content" >{pigcms{$news.content}</textarea>
</td>
</tr>
var options = {
allowFileManager : true,
afterBlur: function () { this.sync(); } //js提交表单修改之后的表单
};
var editor = [];
KindEditor.ready(function(K) {
editor[0] = K.create("#content",options);
editor[1] = K.create("#introduction",options);
});
本文标题:在一个页面使用多个 kindeditor编辑器
本文链接:https://www.haomeiwen.com/subject/ctkvyltx.html
网友评论