hoeditor-web 3.1.11 → 3.1.13
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 +10 -5
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -67851,7 +67851,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67851
67851
|
// };
|
|
67852
67852
|
if (node) {
|
|
67853
67853
|
if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_59__/* .TextNode */ .R) {
|
|
67854
|
-
if (
|
|
67854
|
+
if (node.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(node.text).length) {
|
|
67855
67855
|
//特殊处理生僻字
|
|
67856
67856
|
var rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_61__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, node.rootNodes, node.parentNode, _BaseNode__WEBPACK_IMPORTED_MODULE_44__/* .NodeType */ .Jq.ntRareChar, node.text, node.styleIndex);
|
|
67857
67857
|
nodes.push(rareCharNode);
|
|
@@ -67896,7 +67896,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
67896
67896
|
var _node2 = hoEditorFactory.structureConvert.convertNode(item, rootNodes, temp, undefined, undefined, isClearSign);
|
|
67897
67897
|
if (_node2) {
|
|
67898
67898
|
if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_59__/* .TextNode */ .R) {
|
|
67899
|
-
if (
|
|
67899
|
+
if (_node2.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_node2.text).length) {
|
|
67900
67900
|
//特殊处理生僻字
|
|
67901
67901
|
var _rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_61__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, _node2.rootNodes, _node2.parentNode, _BaseNode__WEBPACK_IMPORTED_MODULE_44__/* .NodeType */ .Jq.ntRareChar, _node2.text, _node2.styleIndex);
|
|
67902
67902
|
nodes.push(_rareCharNode);
|
|
@@ -68116,7 +68116,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
68116
68116
|
}
|
|
68117
68117
|
} else {
|
|
68118
68118
|
if (textArr[0] != "") {
|
|
68119
|
-
if (temp.
|
|
68119
|
+
if (temp.text.length > (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(temp.text).length) {
|
|
68120
68120
|
var rareCharNode = new _RareCharNode__WEBPACK_IMPORTED_MODULE_61__/* .RareCharNode */ .Q(temp.hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_44__/* .NodeType */ .Jq.ntRareChar, textArr[0], styleIndex);
|
|
68121
68121
|
temp.childNodes.splice(temp.childNodes.length - 1, 0, rareCharNode);
|
|
68122
68122
|
} else {
|
|
@@ -91353,6 +91353,11 @@ var TableDeleteRowUndoUnit = /*#__PURE__*/function () {
|
|
|
91353
91353
|
}
|
|
91354
91354
|
}
|
|
91355
91355
|
this._table.deleteRows(this._row, this._count);
|
|
91356
|
+
if (this._table.rows[this._row]) {
|
|
91357
|
+
for (var _c = 0; _c < this._table.colCount; _c++) {
|
|
91358
|
+
this._table.rows[this._row][_c].drawCell.needUpdate = true;
|
|
91359
|
+
}
|
|
91360
|
+
}
|
|
91356
91361
|
this._table.countChildNodes();
|
|
91357
91362
|
this._table.update();
|
|
91358
91363
|
}
|
|
@@ -217686,7 +217691,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
217686
217691
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
217687
217692
|
var ParagraphNode = __webpack_require__(67945);
|
|
217688
217693
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
217689
|
-
/* harmony default export */ var version = ('3.1.
|
|
217694
|
+
/* harmony default export */ var version = ('3.1.13');
|
|
217690
217695
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
217691
217696
|
var PoperTipText = __webpack_require__(50987);
|
|
217692
217697
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -226664,7 +226669,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
226664
226669
|
key: "getDocXml",
|
|
226665
226670
|
value: function getDocXml(beauty, isValidStyle, clearSign) {
|
|
226666
226671
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
226667
|
-
if (
|
|
226672
|
+
if (isValidStyle) {
|
|
226668
226673
|
// 保存病历参数: 不美化文档结构 | 清理不需要的样式
|
|
226669
226674
|
hoEditorFactory.contentIsModify.isModify = false;
|
|
226670
226675
|
var stack = hoEditorFactory.undoService.stack;
|