el-text-editor 0.0.43 → 0.0.45

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.
@@ -1096,13 +1096,13 @@ class ElTextEditorComponent {
1096
1096
  break;
1097
1097
  case 'create-document':
1098
1098
  this.imageEdit.emit();
1099
- data = { editIMG: true, from: 'createDocument', index: this.selectedItemIndex, id: this.editorFrom.id, sectionId: this.editorFrom.sectionId };
1100
- // this.navigateToIMGEditor(data);
1101
- this.openDialog(data);
1099
+ data = { editIMG: true, from: 'createDocument', index: this.selectedItemIndex, id: this.editorFrom.id, section: this.editorFrom.section, reportSectionId: this.editorFrom.reportSectionId };
1100
+ // this.openDialog(data)
1102
1101
  const compressedData3 = compress(JSON.stringify(this.imageEditUrl));
1103
1102
  const compressedData4 = compress(this.editorText);
1104
1103
  sessionStorage.setItem('editImageFromTemp2', compressedData3);
1105
1104
  sessionStorage.setItem('textEditor2', compressedData4);
1105
+ this.navigateToIMGEditor(data);
1106
1106
  break;
1107
1107
  default:
1108
1108
  null;