首页 > 编程 > JavaScript > 正文

extjs fckeditor集成代码

2019-11-21 01:22:45
字体:
来源:转载
供稿:网友
复制代码 代码如下:

{
xtype : "textarea",
name : "content",
anchor : '97%',
height : 400,
id : "content",
fieldLabel : "内容",
listeners : {
"render" : function(f) {
fckEditor = new FCKeditor("content");
fckEditor.Height = 400;
fckEditor.Width = 530;
fckEditor.BasePath = "/test/fckeditor/";
fckEditor.Config['CustomConfigurationsPath'] = "/fckeditor/fckconfig.js"
fckEditor.ReplaceTextarea();
}
}
}

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表