@hailin-zheng/editor-core 2.0.20 → 2.0.21
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/index-cjs.js +4 -2
- package/index-cjs.js.map +1 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index-cjs.js
CHANGED
@@ -4358,7 +4358,7 @@ class TableCellElement extends BlockContainerElement {
|
|
4358
4358
|
const cellRender = new TableCellRenderObject(this);
|
4359
4359
|
cellRender.rect.width = cellWidth;
|
4360
4360
|
//cellRender.rect.maxWidth = cellWidth;
|
4361
|
-
cellRender.padding = new PaddingProps(0, 0,
|
4361
|
+
cellRender.padding = new PaddingProps(0, 0, 0, 0);
|
4362
4362
|
cellRender.rect.x = cellOffset;
|
4363
4363
|
return cellRender;
|
4364
4364
|
}
|
@@ -13613,8 +13613,10 @@ class DocumentContext {
|
|
13613
13613
|
const dataEle = this.getControlById(id);
|
13614
13614
|
if (dataEle) {
|
13615
13615
|
dataEle.setValue(value);
|
13616
|
+
if (dataEle.isFocused) {
|
13617
|
+
this.ss.clear();
|
13618
|
+
}
|
13616
13619
|
}
|
13617
|
-
this.ss.clear();
|
13618
13620
|
}
|
13619
13621
|
setControlValueByName(name, val) {
|
13620
13622
|
const dataEle = this.getControlByName(name);
|