<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);
});
网友评论