extjs fckeditor集成代码
程序员文章站
2022-01-06 07:45:01
复制代码 代码如下:{ xtype : "textarea", name : "content", anchor : '97%', height : 400, id : "...
复制代码 代码如下:
{
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();
}
}
}
下一篇: Netty