el-text-editor 0.0.48 → 0.0.50

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.
@@ -1150,9 +1150,14 @@ class ElTextEditorComponent {
1150
1150
  const compressedData = compress(JSON.stringify(this.imageEditUrl));
1151
1151
  sessionStorage.setItem('editImageFromTemp', compressedData);
1152
1152
  const compressedData2 = compress(JSON.stringify(this.sanitizedContent));
1153
+ const compressedTextEditor = compress(this.editorText);
1153
1154
  sessionStorage.setItem('textEditor', compressedData2);
1154
1155
  // alert('go to editor!')
1155
- this.imageEdit.emit(data);
1156
+ const imageReq = {
1157
+ editImageFromTemp: compressedData,
1158
+ textEditor: compressedTextEditor
1159
+ };
1160
+ this.imageEdit.emit(imageReq);
1156
1161
  this.navigateToIMGEditor(data);
1157
1162
  break;
1158
1163
  case 'create-document':