@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.
- package/CHANGELOG.md +9 -1
- package/dist/ej2-richtexteditor.umd.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +3 -2
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +3 -2
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/dist/global/ej2-richtexteditor.min.js +2 -2
- package/dist/global/ej2-richtexteditor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/rich-text-editor/renderer/table-module.js +3 -2
|
@@ -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 -
|
|
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
|
|
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');
|