tinymce.full.js
function (args) {
        var self = this, elm = self.getElement(), html, form;

        if (!elm || !self.initialized) {
          return;
        }

        args = args || {};
        args.save = true;

        args.element = elm;
        html = args.content = self.getContent(args);

        if (!args.no_events) {
          self.fire('SaveContent', args);
        }

        // Always run this internal event
        if (args.format == 'raw') {
          self.fire('RawSaveContent', args);
        }

        html = args.content;

        if (!/TEXTAREA|INPUT/i.test(elm.nodeName)) {
          // Update DIV element when not in inline mode
          if (!self.inline) {
            elm.innerHTML = html;
          }

          // Update hidden form element
          if ((form = DOM.getParent(self.id, 'form'))) {
            each(form.elements, function (elm) {
              if (elm.name == self.id) {
                elm.value = html;
                return false;
              }
            });
          }
        } else {
          elm.value = html;
        }

        args.element = elm = null;

        if (args.set_dirty !== false) {
          self.setDirty(false);
        }

        return html;
      }
function (args) {
        var self = this, elm = self.getElement(), html, form;

        if (!elm || !self.initialized) {
          return;
        }

        args = args || {};
        args.save = true;

        args.element = elm;
        html = args.content = self.getContent(args);

        if (!args.no_events) {
          self.fire('SaveContent', args);
        }

        // Always run this internal event
        if (args.format == 'raw') {
          self.fire('RawSaveContent', args);
        }

        html = args.content;

        if (!/TEXTAREA|INPUT/i.test(elm.nodeName)) {
          // Update DIV element when not in inline mode
          if (!self.inline) {
            elm.innerHTML = html;
          }

          // Update hidden form element
          if ((form = DOM.getParent(self.id, 'form'))) {
            each(form.elements, function (elm) {
              if (elm.name == self.id) {
                elm.value = html;
                return false;
              }
            });
          }
        } else {
          elm.value = html;
        }

        args.element = elm = null;

        if (args.set_dirty !== false) {
          self.setDirty(false);
        }

        return html;
      }
function ( args ) { var self = this , elm = self . getElement ( ) , html , form ; if ( ! elm || ! self . initialized ) { return ; } args = args || { } ; args . save = true ; args . element = elm ; html = args . content = self . getContent ( args ) ; if ( ! args . no_events ) { self . fire ( 'SaveContent' , args ) ; } // Always run this internal event if ( args . format == 'raw' ) { self . fire ( 'RawSaveContent' , args ) ; } html = args . content ; if ( ! / TEXTAREA|INPUT / i . test ( elm . nodeName ) ) { // Update DIV element when not in inline mode if ( ! self . inline ) { elm . innerHTML = html ; } // Update hidden form element if ( ( form = DOM . getParent ( self . id , 'form' ) ) ) { each ( form . elements , function ( elm ) { if ( elm . name == self . id ) { elm . value = html ; return false ; } } ) ; } } else { elm . value = html ; } args . element = elm = null ; if ( args . set_dirty !== false ) { self . setDirty ( false ) ; } return html ; }
Saves the contents from a editor out to the textarea or div element that got converted into an editor instance.
This method will move the HTML contents from the editor into that textarea or div by getContent
so all events etc that method has will get dispatched as well.

@method save
@param {Object} args Optional content object, this gets passed around through the whole save process.
@return {String} HTML string that got set into the textarea/div.
Saves the contents from a editor out to the textarea or div element that got converted into an editor instance . This method will move the HTML contents from the editor into that textarea or div by getContent so all events etc that method has will get dispatched as well .