initEditor:function(){
var dbody=this.getEditorBody();
var ss=this.el.getSytles(
'font-size', 'font-family',
'background-image','background-repeat');
ss['background-attachment']='fixed';
dbody.bgProperties='fixed';
Ext.DomHelper.applyStyles(dbody,ss);
if(this.doc){
try(Ext.EventManager.removeAll(this.doc);}catch(e){}}
this.doc=this.getDoc();
Ext.EventManager.on(this.doc,
{buffer:100,this.onEditorEvent,
'mousedown':this.onEditorEvent,
'dblclick':this. onEditorEvent,
'click':this. onEditorEvent,
'keyup': this.onEditorEvent }};
if(Ext.isget)
Ext.EventManager.on(this.doc,'keypress',this.applyCommand,this);
if(Ext.isIE||Ext.isSafari||Ext.isOpera){
Ext.EventManager.on(this.doc,'keydown',this.fixKeys,this);}
this.initialized=true;
this.fireEvent('initialize',this);
this.doc.editorInitialized=true;
this.pushValue();}