@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.js CHANGED
@@ -14682,7 +14682,6 @@ class DocumentArrange {
14682
14682
  break;
14683
14683
  }
14684
14684
  else {
14685
- ElementUtil.remeasure(blockLine);
14686
14685
  break;
14687
14686
  }
14688
14687
  }
@@ -14817,6 +14816,9 @@ class DocumentArrange {
14817
14816
  }
14818
14817
  else {
14819
14818
  cutCellRenders.push(null);
14819
+ //当前单元格可能是被上一个被截断过来的单元格,里面内容为空,此时无法截断,
14820
+ //但由于单元格高度被整行高度调整过,所以,不能被截断的单元格,在截断整行的情况下,需要重新计算高度
14821
+ ElementUtil.remeasure(cellRender);
14820
14822
  }
14821
14823
  }
14822
14824
  else {
@@ -19268,6 +19270,7 @@ class DocumentChange {
19268
19270
  /**
19269
19271
  * 表单区域删除处理
19270
19272
  * @param range
19273
+ * @param startPointElement
19271
19274
  * @returns
19272
19275
  */
19273
19276
  deleteRangeInFormEdit(range, startPointElement) {
@@ -26333,10 +26336,12 @@ class EditorCalendarVNode {
26333
26336
  sel: 'input.editor-calendar-footer-left-time',
26334
26337
  data: {
26335
26338
  attrs: {
26339
+ type: 'time',
26340
+ step: '1',
26336
26341
  value: this.currTime.value
26337
26342
  },
26338
26343
  on: {
26339
- change: (event) => {
26344
+ blur: (event) => {
26340
26345
  if (moment(event.target.value, 'HH:mm:ss').isValid()) {
26341
26346
  this.selectedTime.value = event.target.value;
26342
26347
  }
@@ -28333,7 +28338,7 @@ class DocEditor {
28333
28338
  rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
28334
28339
  }
28335
28340
  version() {
28336
- return "2.0.47";
28341
+ return "2.0.49";
28337
28342
  }
28338
28343
  }
28339
28344