sheet-happens 0.0.30 → 0.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1561,12 +1561,12 @@ var parsePastedHtml = function parsePastedHtml(selection, html) {
1561
1561
  y++;
1562
1562
  }
1563
1563
 
1564
- right = Math.max(right, x);
1564
+ right = Math.max(right, x - 1);
1565
1565
  }
1566
1566
  }
1567
1567
  }
1568
1568
 
1569
- bottom = y;
1569
+ bottom = Math.max(top, y - 1);
1570
1570
  return {
1571
1571
  selection: [[left, top], [right, bottom]],
1572
1572
  changes: changes