docs: function() {
        var that = this,
            oldHtml,
            cleanHtml;
  
        if (wysihtml5.browser.supportsModenPaste()) {
          this.on("paste:composer", function(event) {
            event.preventDefault();
            oldHtml = wysihtml5.dom.getPastedHtml(event);
            if (oldHtml) {
              that._cleanAndPaste(oldHtml);
            }
          });
  
        } else {
          this.on("beforepaste:composer", function(event) {
            event.preventDefault();
            wysihtml5.dom.getPastedHtmlWithDiv(that.composer, function(pastedHTML) {
              if (pastedHTML) {
                that._cleanAndPaste(pastedHTML);
              }
            });
          });
  
        }
      }