cm-page-builder
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -92,3 +92,4 @@ 'use strict'; | ||
'data-block-id': this.props.id, | ||
onClick: this.optionHandleClick | ||
onClick: this.optionHandleClick, | ||
style: { cursor: 'grab' } | ||
}, | ||
@@ -95,0 +96,0 @@ _react2.default.createElement('i', { className: 'cm cm-handle' }), |
@@ -61,6 +61,7 @@ 'use strict'; | ||
var isEdit = context.status === 'Edit'; | ||
return _react2.default.createElement( | ||
'div', | ||
{ className: 'component-section cm-embed ' + context.status.toLowerCase() }, | ||
content ? _react2.default.createElement('iframe', { title: 'video-frame', className: '' + context.status.toLowerCase(), width: '100%', height: '320px', src: content }) : _react2.default.createElement( | ||
content ? _react2.default.createElement('iframe', { title: 'video-frame', className: '' + context.status.toLowerCase(), width: '100%', height: '320px', src: content }) : isEdit && _react2.default.createElement( | ||
'div', | ||
@@ -67,0 +68,0 @@ { className: 'embed-input-field' }, |
@@ -68,2 +68,3 @@ 'use strict'; | ||
var isEdit = context.status === 'Edit'; | ||
return _react2.default.createElement( | ||
@@ -74,3 +75,3 @@ 'div', | ||
} }, | ||
component_attachment ? _react2.default.createElement('img', { src: component_attachment.url || component_attachment.content, width: '100%', height: '400px', alt: component_attachment.filename }) : _react2.default.createElement( | ||
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( | ||
_react2.default.Fragment, | ||
@@ -77,0 +78,0 @@ null, |
{ | ||
"name": "cm-page-builder", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"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
126953
3035