hoeditor-web 3.0.27 → 3.0.28
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 +15 -9
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -67635,10 +67635,10 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
67635
67635
|
if (child.name === comment.id) {
|
|
67636
67636
|
child.alpha = 1;
|
|
67637
67637
|
}
|
|
67638
|
-
if (child instanceof createjs.Container && comment.id === child.name) {
|
|
67638
|
+
if (child instanceof createjs.Container && comment.id === child.name && hoEditorFactory.drawTree.activePage) {
|
|
67639
67639
|
_components_common_comment__WEBPACK_IMPORTED_MODULE_22__/* .$Comment.open */ .D.open({
|
|
67640
67640
|
x: child.x,
|
|
67641
|
-
y: child.y + hoEditorFactory.
|
|
67641
|
+
y: child.y + hoEditorFactory.drawTree.activePage.drawMainDoc.y,
|
|
67642
67642
|
width: 0,
|
|
67643
67643
|
height: 0,
|
|
67644
67644
|
pageIndex: hoEditorFactory.drawTree.caret.pageIndex
|
|
@@ -76834,7 +76834,7 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
76834
76834
|
if (this.node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
76835
76835
|
var parentNode = this.node.parentNode;
|
|
76836
76836
|
if (parentNode.inputFieldType === 0) {
|
|
76837
|
-
if (backColor === hoEditorFactory.pageProperty.backColor) {
|
|
76837
|
+
if (backColor === hoEditorFactory.pageProperty.backColor || backColor == "#FFFFFF" && !parentNode.enableGlobalColor) {
|
|
76838
76838
|
backColor = hoEditorFactory.option.getColorByLevel(10);
|
|
76839
76839
|
}
|
|
76840
76840
|
} else {
|
|
@@ -259890,7 +259890,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
259890
259890
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
259891
259891
|
var MarkNode = __webpack_require__(57727);
|
|
259892
259892
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
259893
|
-
/* harmony default export */ var version = ('3.0.
|
|
259893
|
+
/* harmony default export */ var version = ('3.0.28');
|
|
259894
259894
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
259895
259895
|
var PoperTipText = __webpack_require__(15845);
|
|
259896
259896
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -265351,10 +265351,16 @@ var StructureConvert = /*#__PURE__*/function () {
|
|
|
265351
265351
|
if (aNode instanceof TableNode/* TableNode */.Fh) {
|
|
265352
265352
|
var nextNode = array[j + 1];
|
|
265353
265353
|
nodePath = hoEditorFactory.docTree.getNodeLastPath(prevNode);
|
|
265354
|
-
|
|
265354
|
+
var aparaNode = new ParagraphNode/* ParagraphNode */.C(_this5._hoEditorFactoryID, aNode.rootNodes, null, 0);
|
|
265355
|
+
if (nextNode instanceof ParagraphNode/* ParagraphNode */.C && nextNode.printAsSinglePage) {
|
|
265356
|
+
hoEditorFactory.docTree.insertNodeAfterPath(nodePath, aparaNode);
|
|
265357
|
+
prevNode = aparaNode;
|
|
265358
|
+
} else {
|
|
265359
|
+
hoEditorFactory.docTree.insertNodeAfterPath(nodePath, nextNode);
|
|
265360
|
+
prevNode = nextNode;
|
|
265361
|
+
j = j + 1;
|
|
265362
|
+
}
|
|
265355
265363
|
hoEditorFactory.docTree.insertNodeAfterPath(nodePath, aNode);
|
|
265356
|
-
j = j + 1;
|
|
265357
|
-
prevNode = nextNode;
|
|
265358
265364
|
} else {
|
|
265359
265365
|
nodePath = hoEditorFactory.docTree.getNodeLastPath(prevNode);
|
|
265360
265366
|
hoEditorFactory.docTree.insertNodeAfterPath(nodePath, aNode);
|
|
@@ -265589,11 +265595,11 @@ var StructureConvert = /*#__PURE__*/function () {
|
|
|
265589
265595
|
var eindexArr = ePath.split("/");
|
|
265590
265596
|
var eindex = eindexArr[eindexArr.length - 1];
|
|
265591
265597
|
if (Number(adata.start) < 0 || Number(adata.start) > Number(eindex)) {
|
|
265592
|
-
message/* default.warn */.Z.warn("文本节点(" + node.text + ')的起始位置有误:' + adata.start);
|
|
265598
|
+
message/* default.warn */.Z.warn("文本节点(" + node.text + ')的起始位置有误:' + adata.start + "。(索引" + errIndex.toString() + ")");
|
|
265593
265599
|
return;
|
|
265594
265600
|
}
|
|
265595
265601
|
if (Number(adata.end) < 0 || Number(adata.end) > Number(eindex)) {
|
|
265596
|
-
message/* default.warn */.Z.warn("文本节点(" + node.text + ')的结束位置有误:' + adata.end);
|
|
265602
|
+
message/* default.warn */.Z.warn("文本节点(" + node.text + ')的结束位置有误:' + adata.end + "。(索引" + errIndex.toString() + ")");
|
|
265597
265603
|
return;
|
|
265598
265604
|
}
|
|
265599
265605
|
var sPath = hoEditorFactory.docTree.getNodeFirstPath(node);
|