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