code: function generateBar(classToAdd, cursor, left, top, height, width, indexAttr, index) {
          var bar = {
            'data-mce-bogus': 'all',
            'class': RESIZE_BAR_CLASS + ' ' + classToAdd,
            'unselectable': 'on',
            'data-mce-resize': false,
            style: 'cursor: ' + cursor + '; ' +
            'margin: 0; ' +
            'padding: 0; ' +
            'position: absolute; ' +
            'left: ' + left + 'px; ' +
            'top: ' + top + 'px; ' +
            'height: ' + height + 'px; ' +
            'width: ' + width + 'px; '
          };
  
          bar[indexAttr] = index;
  
          return bar;
        }
docs: Generates a resize bar object for the editor to add.