@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.
@@ -23304,7 +23304,8 @@ var Table = /** @__PURE__ @class */ (function () {
23304
23304
  var tableWidth = parseInt(getComputedStyle(_this.curTable).width, 10);
23305
23305
  var tableHeight = parseInt(getComputedStyle(_this.curTable).height, 10);
23306
23306
  var paddingSize = +getComputedStyle(_this.contentModule.getEditPanel()).paddingRight.match(/\d/g).join('');
23307
- var rteWidth = _this.contentModule.getEditPanel().offsetWidth - paddingSize * 2;
23307
+ var rteWidth = _this.contentModule.getEditPanel().offsetWidth - (_this.contentModule.getEditPanel().offsetWidth -
23308
+ _this.contentModule.getEditPanel().clientWidth) - paddingSize * 2;
23308
23309
  if (_this.resizeBtnStat.column) {
23309
23310
  var cellColl = _this.curTable.rows[_this.calMaxCol(_this.curTable)].cells;
23310
23311
  var width = parseFloat(_this.columnEle.offsetWidth.toString());
@@ -23345,7 +23346,7 @@ var Table = /** @__PURE__ @class */ (function () {
23345
23346
  EventHandler.remove(_this.contentModule.getEditPanel(), 'mouseover', _this.resizeHelper);
23346
23347
  }
23347
23348
  var widthType = _this.curTable.style.width.indexOf('%') > -1;
23348
- _this.curTable.style.width = widthType && !_this.curTable.closest('TD') ? _this.convertPixelToPercentage(tableWidth + mouseX, rteWidth) + '%'
23349
+ _this.curTable.style.width = widthType ? _this.convertPixelToPercentage(tableWidth + mouseX, rteWidth) + '%'
23349
23350
  : tableWidth + mouseX + 'px';
23350
23351
  _this.curTable.style.height = tableHeight + mouseY + 'px';
23351
23352
  tableReBox.classList.add('e-rbox-select');