extjs

关注公众号 jb51net

关闭
首页 > 网络编程 > JavaScript > javascript类库 > extjs > extjs fckeditor

extjs fckeditor集成代码

作者:

用extjs实现的集成fckeditor的代码。
复制代码 代码如下:

{
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();
}
}
}

您可能感兴趣的文章:
阅读全文