code: function () {
          var self = this, doc = self.getDoc();
  
          if (!self.hidden) {
            // Fixed bug where IE has a blinking cursor left from the editor
            if (ie && doc && !self.inline) {
              doc.execCommand('SelectAll');
            }
  
            // We must save before we hide so Safari doesn't crash
            self.save();
  
            if (self.inline) {
              self.getBody().contentEditable = false;
  
              // Make sure the editor gets blurred
              if (self == self.editorManager.focusedEditor) {
                self.editorManager.focusedEditor = null;
              }
            } else {
              DOM.hide(self.getContainer());
              DOM.setStyle(self.id, 'display', self.orgDisplay);
            }
  
            self.hidden = true;
            self.fire('hide');
          }
        }
docs: Hides the editor and shows any textarea/div that the editor is supposed to replace.
  
  @method hide