ext组件取值

ganzuozhing ganzuozhing 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
Ext.ns('App.website.ueditor');
App.website.Ueditor = Ext.extend(Ext.form.Field ,{
defaultAutoCreate : {tag: 'div'},
constructor : function(cfg){
Ext.apply(this,cfg);
this.listeners = {
render : function(cmp) {
var ueditor = new UE.ui.Editor({zIndex:10000,initialFrameWidth:"100%",
initialFrameHeight : 305,initialContent:'欢迎使用ueditor!'});
this.ueditor = ueditor;
ueditor.render(cmp.id);
if(!this.originalValue){
var u= ueditor
window.u=u
ueditor.ready(function(){
ueditor.setContent("获取website后台列值");
});
}
},
scope : this
};
App.website.Ueditor.superclass.constructor.call(this);
},
各位大牛 ,怎么把website的列值获取传给ueditor作为初始显示,
...全文
评论
收藏 已收藏
分享
返回顶部
ganzuozhing
JavaScript 87,983 成员 224,680 内容