@hailin-zheng/editor-core 2.0.48 → 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 CHANGED
@@ -14846,6 +14846,8 @@ class DocumentArrange {
14846
14846
  }
14847
14847
  else {
14848
14848
  cutCellRenders.push(null);
14849
+ //当前单元格可能是被上一个被截断过来的单元格,里面内容为空,此时无法截断,
14850
+ //但由于单元格高度被整行高度调整过,所以,不能被截断的单元格,在截断整行的情况下,需要重新计算高度
14849
14851
  ElementUtil.remeasure(cellRender);
14850
14852
  }
14851
14853
  }
@@ -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
- change: (event) => {
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.48";
28371
+ return "2.0.49";
28367
28372
  }
28368
28373
  }
28369
28374