tinymce.full.js
function removePasteBin() {
        if (pasteBinElm) {
          var pasteBinClone;

          // WebKit/Blink might clone the div so
          // lets make sure we remove all clones
          // TODO: Man o man is this ugly. WebKit is the new IE! Remove this if they ever fix it!
          while ((pasteBinClone = editor.dom.get('mcepastebin'))) {
            editor.dom.remove(pasteBinClone);
            editor.dom.unbind(pasteBinClone);
          }

          if (lastRng) {
            editor.selection.setRng(lastRng);
          }
        }

        pasteBinElm = lastRng = null;
      }
function removePasteBin() {
        if (pasteBinElm) {
          var pasteBinClone;

          // WebKit/Blink might clone the div so
          // lets make sure we remove all clones
          // TODO: Man o man is this ugly. WebKit is the new IE! Remove this if they ever fix it!
          while ((pasteBinClone = editor.dom.get('mcepastebin'))) {
            editor.dom.remove(pasteBinClone);
            editor.dom.unbind(pasteBinClone);
          }

          if (lastRng) {
            editor.selection.setRng(lastRng);
          }
        }

        pasteBinElm = lastRng = null;
      }
function removePasteBin ( ) { if ( pasteBinElm ) { var pasteBinClone ; // WebKit/Blink might clone the div so // lets make sure we remove all clones // TODO: Man o man is this ugly. WebKit is the new IE! Remove this if they ever fix it! while ( ( pasteBinClone = editor . dom . get ( 'mcepastebin' ) ) ) { editor . dom . remove ( pasteBinClone ) ; editor . dom . unbind ( pasteBinClone ) ; } if ( lastRng ) { editor . selection . setRng ( lastRng ) ; } } pasteBinElm = lastRng = null ; }
Removes the paste bin if it exists.
Removes the paste bin if it exists .