怎么在一个页面显示两个kindeditor

ff031068 2011-09-13 03:18:16
求解~

详细点~
...全文
536 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
叫我梁大侠 2012-11-01
  • 打赏
  • 举报
回复
我也碰到这问题了。。求解啊
Mapleleaf123 2011-09-14
  • 打赏
  • 举报
回复
这个要顶
ff031068 2011-09-14
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 edwardlong 的回复:]

1楼正解
[/Quote]
我知道正确
但我的这样要怎么改- -
EdwardLong 2011-09-14
  • 打赏
  • 举报
回复
1楼正解
ff031068 2011-09-14
  • 打赏
  • 举报
回复


求帮忙
ff031068 2011-09-14
  • 打赏
  • 举报
回复
求帮助
ff031068 2011-09-13
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 aspwebchh 的回复:]

JScript code
KE.show({
id : 'id1',//TEXTAREA输入框的ID
width : '700px',
height : '200px',

items : [
'undo', 'redo', 'fontname', 'fontsize', 'textcolor', 'bg……
[/Quote]

我的kindeditor的配置是这样的
KindEditor.ready(function(K) {
var editor = K.create('textarea[name="content"]', {
cssPath : '../kindeditor/plugins/code/prettify.css',
uploadJson : '../kindeditor/asp/upload_json.asp',
fileManagerJson : '../kindeditor/asp/file_manager_json.asp',
allowFileManager : true,
resizeType : 1,
afterCreate : function() {
var self = this;
K.ctrl(document, 13, function() {
self.sync();
K('form[name=example]')[0].submit();
});
K.ctrl(self.edit.doc, 13, function() {
self.sync();
K('form[name=example]')[0].submit();
});
}
});
prettyPrint();
});
</script>
挨踢直男 2011-09-13
  • 打赏
  • 举报
回复
    KE.show({
id : 'id1',//TEXTAREA输入框的ID
width : '700px',
height : '200px',

items : [
'undo', 'redo', 'fontname', 'fontsize', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
'removeformat', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist'
],
resizeMode : 1
});

KE.show({
id : 'id2',//TEXTAREA输入框的ID
width : '700px',
height : '200px',

items : [
'undo', 'redo', 'fontname', 'fontsize', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
'removeformat', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist'
],
resizeMode : 1
});

初始化两个啊

28,404

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧