hoeditor-web 3.1.237 → 3.1.238

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.
@@ -108518,7 +108518,7 @@ const textParams = {
108518
108518
  /***/ (function(__unused_webpack_module, __webpack_exports__) {
108519
108519
 
108520
108520
  "use strict";
108521
- /* harmony default export */ __webpack_exports__.A = ('3.1.237');
108521
+ /* harmony default export */ __webpack_exports__.A = ('3.1.238');
108522
108522
 
108523
108523
  /***/ }),
108524
108524
 
@@ -233792,6 +233792,7 @@ class entry_lib_VueController {
233792
233792
  continue;
233793
233793
  }
233794
233794
  if (node instanceof entry_lib_TextInputFieldNode/* TextInputFieldNode */.IM) {
233795
+ const nodeStyleIndex = node.StartMarkNode.styleIndex;
233795
233796
  if (text.includes("<TextInputFieldNode>")) {
233796
233797
  const json = x2js.xml2js(xml);
233797
233798
  const childNodes = new Array();
@@ -233801,6 +233802,9 @@ class entry_lib_VueController {
233801
233802
  for (let i = 1; i < item.length - 1; i++) {
233802
233803
  const anode = hoEditorFactory.structureConvert.convertNode(item[i], node.rootNodes, node);
233803
233804
  if (anode) {
233805
+ if (anode.styleIndex !== undefined) {
233806
+ anode.styleIndex = nodeStyleIndex;
233807
+ }
233804
233808
  if (anode instanceof entry_lib_TextNode/* TextNode */.E) {
233805
233809
  if (anode.text.length > [...anode.text].length) {
233806
233810
  //特殊处理生僻字
@@ -233820,6 +233824,9 @@ class entry_lib_VueController {
233820
233824
  //单个对象
233821
233825
  const bnode = hoEditorFactory.structureConvert.convertNode(item, node.rootNodes, node);
233822
233826
  if (bnode) {
233827
+ if (bnode.styleIndex !== undefined) {
233828
+ bnode.styleIndex = nodeStyleIndex;
233829
+ }
233823
233830
  if (bnode instanceof entry_lib_TextNode/* TextNode */.E) {
233824
233831
  if (bnode.text.length > [...bnode.text].length) {
233825
233832
  //特殊处理生僻字