hoeditor-web 2.0.74 → 2.0.75
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.common.js +5 -5
- package/lib/hoeditor.umd.js +5 -5
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -13484,7 +13484,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
13484
13484
|
|
|
13485
13485
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_77__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
13486
13486
|
|
|
13487
|
-
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
|
|
13487
|
+
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview && oper !== "update") {
|
|
13488
13488
|
hoEditorFactory.undoService.begin();
|
|
13489
13489
|
hoEditorFactory.undoService.add(new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .NodeStyleUndoUnit */ .o(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .Operate */ .p("reviewDelete", "string")));
|
|
13490
13490
|
hoEditorFactory.undoService.commit();
|
|
@@ -16814,10 +16814,10 @@ var DocController = /*#__PURE__*/function () {
|
|
|
16814
16814
|
var startPath = domRange.startPath;
|
|
16815
16815
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath); // if (type == 1 && imgSrc != "" && imgWidth > 0 && parentNode instanceof CellNode) {
|
|
16816
16816
|
// const cellWidth = parentNode.drawCell.dWidth;
|
|
16817
|
-
// const cellHeight = parentNode.
|
|
16817
|
+
// //const cellHeight = parentNode.drawCell.dHeight;
|
|
16818
16818
|
// if (cellWidth < imgWidth) {
|
|
16819
|
-
// imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
|
|
16820
|
-
// imgWidth =
|
|
16819
|
+
// //imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
|
|
16820
|
+
// imgWidth = cellWidth;
|
|
16821
16821
|
// }
|
|
16822
16822
|
// }
|
|
16823
16823
|
|
|
@@ -207537,7 +207537,7 @@ var SignNode = __webpack_require__(34450);
|
|
|
207537
207537
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207538
207538
|
var ParagraphNode = __webpack_require__(14208);
|
|
207539
207539
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207540
|
-
/* harmony default export */ var version = ('2.0.
|
|
207540
|
+
/* harmony default export */ var version = ('2.0.75');
|
|
207541
207541
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
|
|
207542
207542
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
|
|
207543
207543
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
package/lib/hoeditor.umd.js
CHANGED
|
@@ -13494,7 +13494,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
13494
13494
|
|
|
13495
13495
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_77__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
13496
13496
|
|
|
13497
|
-
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
|
|
13497
|
+
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview && oper !== "update") {
|
|
13498
13498
|
hoEditorFactory.undoService.begin();
|
|
13499
13499
|
hoEditorFactory.undoService.add(new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .NodeStyleUndoUnit */ .o(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .Operate */ .p("reviewDelete", "string")));
|
|
13500
13500
|
hoEditorFactory.undoService.commit();
|
|
@@ -16824,10 +16824,10 @@ var DocController = /*#__PURE__*/function () {
|
|
|
16824
16824
|
var startPath = domRange.startPath;
|
|
16825
16825
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath); // if (type == 1 && imgSrc != "" && imgWidth > 0 && parentNode instanceof CellNode) {
|
|
16826
16826
|
// const cellWidth = parentNode.drawCell.dWidth;
|
|
16827
|
-
// const cellHeight = parentNode.
|
|
16827
|
+
// //const cellHeight = parentNode.drawCell.dHeight;
|
|
16828
16828
|
// if (cellWidth < imgWidth) {
|
|
16829
|
-
// imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
|
|
16830
|
-
// imgWidth =
|
|
16829
|
+
// //imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
|
|
16830
|
+
// imgWidth = cellWidth;
|
|
16831
16831
|
// }
|
|
16832
16832
|
// }
|
|
16833
16833
|
|
|
@@ -207547,7 +207547,7 @@ var SignNode = __webpack_require__(78975);
|
|
|
207547
207547
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207548
207548
|
var ParagraphNode = __webpack_require__(13880);
|
|
207549
207549
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207550
|
-
/* harmony default export */ var version = ('2.0.
|
|
207550
|
+
/* harmony default export */ var version = ('2.0.75');
|
|
207551
207551
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
|
|
207552
207552
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
|
|
207553
207553
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|