原创作者: 379548695   阅读:3124次   评论:1条   更新时间:2011-05-26    

效果如下图所示:

代码

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

评论 共 1 条 请登录后发表评论
1 楼 xuyaorate 2011-11-25 16:06

发表评论

您还没有登录,请您登录后再发表评论

文章信息

Global site tag (gtag.js) - Google Analytics