@hailin-zheng/editor-core 2.0.47 → 2.0.49
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 +8 -3
- package/index-cjs.js.map +1 -1
- package/index.js +8 -3
- package/index.js.map +1 -1
- package/med_editor/framework/document-change.d.ts +1 -0
- package/package.json +1 -1
package/index-cjs.js
CHANGED
@@ -14712,7 +14712,6 @@ class DocumentArrange {
|
|
14712
14712
|
break;
|
14713
14713
|
}
|
14714
14714
|
else {
|
14715
|
-
ElementUtil.remeasure(blockLine);
|
14716
14715
|
break;
|
14717
14716
|
}
|
14718
14717
|
}
|
@@ -14847,6 +14846,9 @@ class DocumentArrange {
|
|
14847
14846
|
}
|
14848
14847
|
else {
|
14849
14848
|
cutCellRenders.push(null);
|
14849
|
+
//当前单元格可能是被上一个被截断过来的单元格,里面内容为空,此时无法截断,
|
14850
|
+
//但由于单元格高度被整行高度调整过,所以,不能被截断的单元格,在截断整行的情况下,需要重新计算高度
|
14851
|
+
ElementUtil.remeasure(cellRender);
|
14850
14852
|
}
|
14851
14853
|
}
|
14852
14854
|
else {
|
@@ -19298,6 +19300,7 @@ class DocumentChange {
|
|
19298
19300
|
/**
|
19299
19301
|
* 表单区域删除处理
|
19300
19302
|
* @param range
|
19303
|
+
* @param startPointElement
|
19301
19304
|
* @returns
|
19302
19305
|
*/
|
19303
19306
|
deleteRangeInFormEdit(range, startPointElement) {
|
@@ -26363,10 +26366,12 @@ class EditorCalendarVNode {
|
|
26363
26366
|
sel: 'input.editor-calendar-footer-left-time',
|
26364
26367
|
data: {
|
26365
26368
|
attrs: {
|
26369
|
+
type: 'time',
|
26370
|
+
step: '1',
|
26366
26371
|
value: this.currTime.value
|
26367
26372
|
},
|
26368
26373
|
on: {
|
26369
|
-
|
26374
|
+
blur: (event) => {
|
26370
26375
|
if (moment__default["default"](event.target.value, 'HH:mm:ss').isValid()) {
|
26371
26376
|
this.selectedTime.value = event.target.value;
|
26372
26377
|
}
|
@@ -28363,7 +28368,7 @@ class DocEditor {
|
|
28363
28368
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
28364
28369
|
}
|
28365
28370
|
version() {
|
28366
|
-
return "2.0.
|
28371
|
+
return "2.0.49";
|
28367
28372
|
}
|
28368
28373
|
}
|
28369
28374
|
|