tinymce.full.js
function getPasteBinHtml() {
        var html = '', pasteBinClones, i, clone, cloneHtml;

        // Since WebKit/Chrome might clone the paste bin when pasting
        // for example: <img style="float: right"> we need to check if any of them contains some useful html.
        // TODO: Man o man is this ugly. WebKit is the new IE! Remove this if they ever fix it!
        pasteBinClones = editor.dom.select('div[id=mcepastebin]');
        for (i = 0; i < pasteBinClones.length; i++) {
          clone = pasteBinClones[i];

          // Pasting plain text produces pastebins in pastebinds makes sence right!?
          if (clone.firstChild && clone.firstChild.id == 'mcepastebin') {
            clone = clone.firstChild;
          }

          cloneHtml = clone.innerHTML;
          if (html != pasteBinDefaultContent) {
            html += cloneHtml;
          }
        }

        return html;
      }
function getPasteBinHtml() {
        var html = '', pasteBinClones, i, clone, cloneHtml;

        // Since WebKit/Chrome might clone the paste bin when pasting
        // for example: <img style="float: right"> we need to check if any of them contains some useful html.
        // TODO: Man o man is this ugly. WebKit is the new IE! Remove this if they ever fix it!
        pasteBinClones = editor.dom.select('div[id=mcepastebin]');
        for (i = 0; i < pasteBinClones.length; i++) {
          clone = pasteBinClones[i];

          // Pasting plain text produces pastebins in pastebinds makes sence right!?
          if (clone.firstChild && clone.firstChild.id == 'mcepastebin') {
            clone = clone.firstChild;
          }

          cloneHtml = clone.innerHTML;
          if (html != pasteBinDefaultContent) {
            html += cloneHtml;
          }
        }

        return html;
      }
function getPasteBinHtml ( ) { var html = '' , pasteBinClones , i , clone , cloneHtml ; // Since WebKit/Chrome might clone the paste bin when pasting // for example: <img style="float: right"> we need to check if any of them contains some useful html. // TODO: Man o man is this ugly. WebKit is the new IE! Remove this if they ever fix it! pasteBinClones = editor . dom . select ( 'div[id=mcepastebin]' ) ; for ( i = 0 ; i < pasteBinClones . length ; i ++ ) { clone = pasteBinClones [ i ] ; // Pasting plain text produces pastebins in pastebinds makes sence right!? if ( clone . firstChild && clone . firstChild . id == 'mcepastebin' ) { clone = clone . firstChild ; } cloneHtml = clone . innerHTML ; if ( html != pasteBinDefaultContent ) { html += cloneHtml ; } } return html ; }
Returns the contents of the paste bin as a HTML string.

@return {String} Get the contents of the paste bin.
Returns the contents of the paste bin as a HTML string .