code: function drawBars(table) {
          var tableDetails = getTableDetails(table);
          var tableGrid = getTableGrid(tableDetails);
          var rows = getRowBlocks(tableGrid);
          var cols = getColumnBlocks(tableGrid);
  
          var tablePosition = editor.dom.getPos(table);
          var rowPositions = rows.length > 0 ? findPositions(getTopEdge, getBottomEdge, rows) : [];
          var colPositions = cols.length > 0 ? findPositions(getInnerEdge, getOuterEdge, cols) : [];
  
          drawRows(rowPositions, table.offsetWidth, tablePosition);
          drawCols(colPositions, table.offsetHeight, tablePosition);
        }
docs: Draw resize bars over the left/right (ltr/rtl) or top side locations of the cells to measure. This is the location of the borders we need to draw over.