今天在草稿箱中发现有个文章没发,ext中使用FCKEditor,记下来备忘
var textareaField = new Ext.form.TextArea({
id : "context",
name : "context",
anchor : '97%',
height : 400,
fieldLabel : "内容",
listeners : {
"render" : function(field) {
var fckEditor = FCKEditor.createFckReplaceTextarea("context", null, 230, "Default");
}
}
}
})