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