code: function(clipboardData) {
          var clipboardModel = this.clipboardModel;
          var data = clipboardData.getData('text/html');
          var table;
  
          if (data && $(data).find('tbody').length > 0) {
              // step 1: Append copied data on contenteditable element to parsing correctly table data.
              this.$el.html('<table>' + $(data).find('tbody').html() + '</table>');
  
              // step 2: Make grid data from cell data of appended table element.
              table = this.$el.find('table')[0];
              data = clipboardUtil.convertTableToData(table);
  
              // step 3: Empty contenteditable element to reset.
              this.$el.html('');
          } else {
              data = clipboardData.getData('text/plain');
              data = clipboardUtil.convertTextToData(data);
          }
  
          clipboardModel.pasteClipboardDataToGrid(data);
      }
docs: Paste copied data in other browsers (chrome, safari, firefox)
  [if] condition is copying from ms-excel,
  [else] condition is copying from the grid or the copied data is plain text.
  @param {object} clipboardData - clipboard object
  @private