whole_func_string: function (cfg) {
          var me = this;
  
          if (me.noWysiwyg || me.intializationInProgress) { return me; }
  
          if (!me.tinyMCEConfig) { me.tinyMCEConfig = {}; }
          if (!cfg) { cfg = {}; }
  
  
          Ext.apply(me.tinyMCEConfig, cfg);
  
          if (!me.wysiwygIntialized) { return me; }
  
          var hidden = true;
  
          var ed = tinymce.get(me.getInputId());
          if (ed) {
              hidden = ed.isHidden();
              ed.save();
          }
  
          tinyMCE.execCommand('mceRemoveControl', false, me.getInputId());
  
          me.wysiwygIntialized = false;
  
          if (!hidden) { me.initEditor(); }
  
          return me;
      }
func_code_string: function (cfg) {
          var me = this;
  
          if (me.noWysiwyg || me.intializationInProgress) { return me; }
  
          if (!me.tinyMCEConfig) { me.tinyMCEConfig = {}; }
          if (!cfg) { cfg = {}; }
  
  
          Ext.apply(me.tinyMCEConfig, cfg);
  
          if (!me.wysiwygIntialized) { return me; }
  
          var hidden = true;
  
          var ed = tinymce.get(me.getInputId());
          if (ed) {
              hidden = ed.isHidden();
              ed.save();
          }
  
          tinyMCE.execCommand('mceRemoveControl', false, me.getInputId());
  
          me.wysiwygIntialized = false;
  
          if (!hidden) { me.initEditor(); }
  
          return me;
      }
func_documentation_string: removeEditor ----------------------------------------------------------------- Sometimes, the editor should be reinitilized on the fly, e.g. if the body css has been changed (in a CMS the user changed the design template of a page opened in the editor). This method removes the editor from the textarea, adds the changed properties to the base config object and initializes the editor again. -----------------------------------------------------------------