Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cm-page-builder

Package Overview
Dependencies
Maintainers
4
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cm-page-builder - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

3

lib/components/DragHandle.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc