代码如下:
{
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();
}
}
}
extjs
fckeditor