hoeditor-web 3.1.121 → 3.1.122
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 +8 -5
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -56940,7 +56940,7 @@ var PopQScoreNode = /*#__PURE__*/function (_MedicalExpressionNod) {
|
|
|
56940
56940
|
// cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
|
|
56941
56941
|
// }
|
|
56942
56942
|
var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
|
|
56943
|
-
var lineHight = dHeight
|
|
56943
|
+
var lineHight = dHeight + 50;
|
|
56944
56944
|
/* 注意绘制顺序 */
|
|
56945
56945
|
var arrValues = ['Ap=' + this.ap, 'Bp=' + this.bp, 'D=' + this.d, 'gh=' + this.gh, 'pb=' + this.pb, 'TVL=' + this.tVL, 'Aa=' + this.aa, 'Ba=' + this.ba, 'C=' + this.c];
|
|
56946
56946
|
var bIsInsert = startIndex < 0;
|
|
@@ -85196,7 +85196,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85196
85196
|
if (dline instanceof DrawTable/* DrawTable */.t) {
|
|
85197
85197
|
throw new Error("错误的文档结构,表格后面需要放置一个段落节点");
|
|
85198
85198
|
} else {
|
|
85199
|
-
if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
|
|
85199
|
+
if (!(hoeditorFactory.drawTree.paintStatus != PaintState.psDesign && node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
|
|
85200
85200
|
dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, startChildIndex, node.getLength() - 1, aEndPath);
|
|
85201
85201
|
if (dline.paragraphNode !== paraNode) {
|
|
85202
85202
|
paraNode = dline.paragraphNode;
|
|
@@ -85360,7 +85360,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
85360
85360
|
if (dline instanceof DrawTable/* DrawTable */.t) {
|
|
85361
85361
|
throw new Error("错误的文档结构,表格前面需要放置一个段落节点");
|
|
85362
85362
|
} else {
|
|
85363
|
-
if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
|
|
85363
|
+
if (!(hoEditorFactory.drawTree.paintStatus != PaintState.psDesign && node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
|
|
85364
85364
|
dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, 0, node.getLength() - 1, aEndPath);
|
|
85365
85365
|
if (dline.paragraphNode !== paraNode) {
|
|
85366
85366
|
paraNode = dline.paragraphNode;
|
|
@@ -210238,7 +210238,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
210238
210238
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
210239
210239
|
var ParagraphNode = __webpack_require__(67945);
|
|
210240
210240
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
210241
|
-
/* harmony default export */ var version = ('3.1.
|
|
210241
|
+
/* harmony default export */ var version = ('3.1.122');
|
|
210242
210242
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
210243
210243
|
var PoperTipText = __webpack_require__(50987);
|
|
210244
210244
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -228169,7 +228169,10 @@ var EditController = /*#__PURE__*/function () {
|
|
|
228169
228169
|
var drawPage = hoEditorFactory.drawTree.activePage;
|
|
228170
228170
|
if (drawPage) {
|
|
228171
228171
|
var dNode = hoEditorFactory.drawTree.getDNodeByPath(curDomRange.endPath);
|
|
228172
|
-
|
|
228172
|
+
var _curDomRange$inSameTa = curDomRange.inSameTable(),
|
|
228173
|
+
_curDomRange$inSameTa2 = (0,esm_slicedToArray/* default */.Z)(_curDomRange$inSameTa, 1),
|
|
228174
|
+
isInTable = _curDomRange$inSameTa2[0];
|
|
228175
|
+
if (!isInTable && dNode instanceof DrawLine/* DrawLine */.a && dNode.drawItems.length == 0) {
|
|
228173
228176
|
var headerHeight = hoEditorFactory.drawPageTree.drawHeaders[0].displayHeight;
|
|
228174
228177
|
var y = headerHeight + dNode.y + dNode.dHeight;
|
|
228175
228178
|
result = hoEditorFactory.vueController.isCanEdit(drawPage.pageIndex, y);
|