Extjs与KindEditor集成,请高手赐教!单个示例可以实现:
new Ext.form.FormPanel({
title:'abc',
renderTo: Ext.getBody(),
autoHeight:true,
items: [
{
xtype: 'textarea',
name: 'KEz',
autoHeight:true,
fieldLabel: '使用FE',
listeners: {
render: function() { KE.show({ id: this.name }); }
}
}
]
});如果这样:KindEditor放到formPanel里,formPanel放到window里怎么就不可以了呢?
new Ext.form.FormPanel({
title:'abc',
renderTo: Ext.getBody(),
autoHeight:true,
items: [
{
xtype: 'textarea',
name: 'KEz',
autoHeight:true,
fieldLabel: '使用FE',
listeners: {
render: function() { KE.show({ id: this.name }); }
}
}
]
});如果这样:KindEditor放到formPanel里,formPanel放到window里怎么就不可以了呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货