@capillarytech/creatives-library 3.12.6 → 3.12.7
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.
package/package.json
CHANGED
|
Binary file
|
|
@@ -479,7 +479,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
479
479
|
}
|
|
480
480
|
this.edmEvent = undefined;
|
|
481
481
|
} else {
|
|
482
|
-
this.state.editorInstanse.insertHtml(`<
|
|
482
|
+
this.state.editorInstanse.insertHtml(`<img src='${nextProps.Email.uploadedAssetData.metaInfo.secure_file_path}' alt='Capillary Image'>`);
|
|
483
483
|
//this.resetCkEditorInstance(this.state.currentTab, this.state.formData, true, nextProps.Email.uploadedAssetData, true);
|
|
484
484
|
}
|
|
485
485
|
this.setState({showImageSelectionBox: false});
|
|
@@ -1073,7 +1073,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
1073
1073
|
if (onInsert && !isImage) {
|
|
1074
1074
|
this.state.editorInstanse.insertHtml(`{{${value}}}`);
|
|
1075
1075
|
} else if (onInsert) {
|
|
1076
|
-
this.state.editorInstanse.insertHtml(`<
|
|
1076
|
+
this.state.editorInstanse.insertHtml(`<img src='${value.metaInfo.secure_file_path}' alt='Capillary Image'>`);
|
|
1077
1077
|
}
|
|
1078
1078
|
});
|
|
1079
1079
|
}
|
|
@@ -1506,7 +1506,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
1506
1506
|
}
|
|
1507
1507
|
this.edmEvent = undefined;
|
|
1508
1508
|
} else {
|
|
1509
|
-
this.state.editorInstanse.insertHtml(`<
|
|
1509
|
+
this.state.editorInstanse.insertHtml(`<img src='${data.metaInfo.secure_file_path}' alt='Capillary Image'>`);
|
|
1510
1510
|
//this.resetCkEditorInstance(this.state.currentTab, this.state.formData, true, data, true);
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
@@ -1853,7 +1853,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
1855
|
selectAsset = (asset) => {
|
|
1856
|
-
this.state.editorInstanse.insertHtml(`<
|
|
1856
|
+
this.state.editorInstanse.insertHtml(`<img src='${asset}' alt='Capillary Image'>`);
|
|
1857
1857
|
}
|
|
1858
1858
|
|
|
1859
1859
|
prepareImageData() {
|