code: function (w, h) {
          var me = this;
  
          if (!me.wysiwygIntialized || !me.rendered) { return; }
  
          var ed = tinymce.get(me.getInputId());
  
          // if the editor is hidden, we do not syncronize
          // because the size values of the hidden editor
          // are calculated wrong.
  
          if (ed.isHidden()) { return; }
  
          // Unfortunately, the TinyMCE has no setSize method
          // This method would help enormly and make the integration
          // very easy.
          //
          // So, we have to deal with internal issues of the editor.
          // We get the height of the tool bar and the status bar and
          // calculate the height of the content frame.
  
          var edTable = Ext.get(me.getInputId() + "_tbl");
          var edIframe = Ext.get(me.getInputId() + "_ifr");
  
          var edToolbar = edTable.down(".mceToolbar");
          var edStatusbar = edTable.down(".mceStatusbar");
  
          var frameHeight = h - 2;
  
          if (edToolbar) { frameHeight -= edToolbar.getHeight(); }
          if (edStatusbar) { frameHeight -= edStatusbar.getHeight(); }
  
          edIframe.setHeight(frameHeight);
  
          edTable.setWidth(w + me.getWidthCorrection());
          edTable.setHeight(h);
      }
docs: -----------------------------------------------------------------