hoeditor-web 3.1.148 → 3.1.150
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/lib/hoeditor.umd.js +6 -6
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -61495,12 +61495,12 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
61495
61495
|
loopNodes(cell.childNodes);
|
|
61496
61496
|
var scoreText = "";
|
|
61497
61497
|
if (!(tableFormular instanceof TableFormula)) {
|
|
61498
|
-
scoreText = cell.getCellText();
|
|
61498
|
+
scoreText = cell.getCellText().replace('分', '');
|
|
61499
61499
|
var ivalue = Number(scoreText);
|
|
61500
61500
|
if (isNaN(ivalue)) {
|
|
61501
61501
|
var downListProperty = cell.cellProperty.downListProperty;
|
|
61502
|
-
var listItems =
|
|
61503
|
-
if (
|
|
61502
|
+
var listItems = [];
|
|
61503
|
+
if (downListProperty && downListProperty.listItems) {
|
|
61504
61504
|
listItems = Array(JSON.parse(downListProperty.listItems));
|
|
61505
61505
|
}
|
|
61506
61506
|
for (var _i2 = 0; _i2 < listItems.length; _i2++) {
|
|
@@ -81729,10 +81729,10 @@ var DrawText = /*#__PURE__*/function (_createjs$Text) {
|
|
|
81729
81729
|
// \u2003 html实体全角空格( )转换为两个普通空格
|
|
81730
81730
|
// \u2002 html实体半角空格( )转换为普通空格
|
|
81731
81731
|
// \u00A0 html 不间断空格( )转换为普通空格
|
|
81732
|
+
// \x01 未知来源分隔符 影响保存病历和加载病历需要去掉
|
|
81732
81733
|
// const str = this.text.replace(/\ /g, ' ').replace(/\ /g, ' ').replace(/\u00A0/g, ' ');
|
|
81733
81734
|
// if(this.text.includes('\u00A0')) {console.log(this.text, '------')}
|
|
81734
|
-
var str = this.text.replace(/\u2003/g, ' ').replace(/\u2002/g, ' ');
|
|
81735
|
-
// if(this.text.includes('\u00A0')) {console.log(this.text, '++++++')}
|
|
81735
|
+
var str = this.text.replace(/\u2003/g, ' ').replace(/\u2002/g, ' ').replace(/\x01/g, '');
|
|
81736
81736
|
var left = 0;
|
|
81737
81737
|
var docWidth = 0;
|
|
81738
81738
|
this._firstCharWidth = this.getCharWidth(ctx, str[0]);
|
|
@@ -210650,7 +210650,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
210650
210650
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
210651
210651
|
var ParagraphNode = __webpack_require__(67945);
|
|
210652
210652
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
210653
|
-
/* harmony default export */ var version = ('3.1.
|
|
210653
|
+
/* harmony default export */ var version = ('3.1.150');
|
|
210654
210654
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
210655
210655
|
var PoperTipText = __webpack_require__(84531);
|
|
210656
210656
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|