code: function() {
                  var doc = me.getDoc();
                  if (doc.body || doc.readyState === 'complete') {
                      Ext.TaskManager.stop(task);
                      me.setDesignMode(true);
                      Ext.defer(me.initEditor, 10, me);
                  }
              }
docs: must defer to wait for browser to be ready