求教htmleditor中的textarea怎么添加键盘监听

items: [{
anchor: '100% 70%',
bodyStyle: 'padding:10px;',
autoScroll: true,
html: val_htm
},
{
xtype: 'form',
anchor: '100% 30%',
hideLabels: true,
items: [{
xtype: 'htmleditor',
value: '',
anchor: '100% 100%',
name: 'editbody'
}]
}]

我想给htmleditor中的textarea添加键盘监听,要怎么做啊??

new Ext.KeyMap(Ext.getCmp("htmleditor").getEl(), [

{

key: 13,

ctrl:true,

stopEvent :true,

fn: function(){}

}

]);

Ext.getCmp(Ext.getCmp("htmleditor").onEditorEvent = function(e){
this.updateToolbar();

var keyCode = (document.layers) ? keyStroke.which : e.keyCode;
if (keyCode == 13 && e.ctrlKey) {
alert(1);
}else if(keyCode == 13) {
alert(2);
}
} );

可以用监听focus