cm-page-builder
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -71,6 +71,9 @@ 'use strict'; | ||
'div', | ||
{ className: 'component-section cm-uploader ' + context.status.toLowerCase(), onClick: function onClick() { | ||
{ | ||
className: 'component-section ' + (!isEdit && !component_attachment ? "" : 'cm-uploader') + ' ' + context.status.toLowerCase(), | ||
onClick: function onClick() { | ||
return _this2.fileInputElem && _this2.fileInputElem.click(); | ||
} }, | ||
component_attachment ? _react2.default.createElement('img', { src: component_attachment.url || component_attachment.content, width: '100%', height: '400px', alt: component_attachment.filename }) : isEdit && _react2.default.createElement( | ||
} | ||
}, | ||
component_attachment ? _react2.default.createElement('img', { src: component_attachment.url || component_attachment.content, width: '100%', alt: component_attachment.filename }) : isEdit && _react2.default.createElement( | ||
_react2.default.Fragment, | ||
@@ -77,0 +80,0 @@ null, |
{ | ||
"name": "cm-page-builder", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Awesome react starter kit", | ||
@@ -5,0 +5,0 @@ "main": "lib/page/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127016
3038