@syncfusion/ej2-richtexteditor 20.1.52 → 20.1.55

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.
@@ -23185,7 +23185,8 @@ class Table {
23185
23185
  const tableWidth = parseInt(getComputedStyle(this.curTable).width, 10);
23186
23186
  const tableHeight = parseInt(getComputedStyle(this.curTable).height, 10);
23187
23187
  const paddingSize = +getComputedStyle(this.contentModule.getEditPanel()).paddingRight.match(/\d/g).join('');
23188
- const rteWidth = this.contentModule.getEditPanel().offsetWidth - paddingSize * 2;
23188
+ const rteWidth = this.contentModule.getEditPanel().offsetWidth - (this.contentModule.getEditPanel().offsetWidth -
23189
+ this.contentModule.getEditPanel().clientWidth) - paddingSize * 2;
23189
23190
  if (this.resizeBtnStat.column) {
23190
23191
  const cellColl = this.curTable.rows[this.calMaxCol(this.curTable)].cells;
23191
23192
  const width = parseFloat(this.columnEle.offsetWidth.toString());
@@ -23226,7 +23227,7 @@ class Table {
23226
23227
  EventHandler.remove(this.contentModule.getEditPanel(), 'mouseover', this.resizeHelper);
23227
23228
  }
23228
23229
  const widthType = this.curTable.style.width.indexOf('%') > -1;
23229
- this.curTable.style.width = widthType && !this.curTable.closest('TD') ? this.convertPixelToPercentage(tableWidth + mouseX, rteWidth) + '%'
23230
+ this.curTable.style.width = widthType ? this.convertPixelToPercentage(tableWidth + mouseX, rteWidth) + '%'
23230
23231
  : tableWidth + mouseX + 'px';
23231
23232
  this.curTable.style.height = tableHeight + mouseY + 'px';
23232
23233
  tableReBox.classList.add('e-rbox-select');