summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/extensions/blocks/contact-info/edit.js')
-rw-r--r--plugins/jetpack/extensions/blocks/contact-info/edit.js51
1 files changed, 0 insertions, 51 deletions
diff --git a/plugins/jetpack/extensions/blocks/contact-info/edit.js b/plugins/jetpack/extensions/blocks/contact-info/edit.js
deleted file mode 100644
index b3ba63a6..00000000
--- a/plugins/jetpack/extensions/blocks/contact-info/edit.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * External dependencies
- */
-import { InnerBlocks } from '@wordpress/editor';
-import classnames from 'classnames';
-
-/**
- * Internal dependencies
- */
-const ALLOWED_BLOCKS = [
- 'jetpack/markdown',
- 'jetpack/address',
- 'jetpack/email',
- 'jetpack/phone',
- 'jetpack/map',
- 'jetpack/business-hours',
- 'core/paragraph',
- 'core/image',
- 'core/heading',
- 'core/gallery',
- 'core/list',
- 'core/quote',
- 'core/shortcode',
- 'core/audio',
- 'core/code',
- 'core/cover',
- 'core/html',
- 'core/separator',
- 'core/spacer',
- 'core/subhead',
- 'core/video',
-];
-
-const TEMPLATE = [ [ 'jetpack/email' ], [ 'jetpack/phone' ], [ 'jetpack/address' ] ];
-
-const ContactInfoEdit = props => {
- const { isSelected } = props;
-
- return (
- <div
- className={ classnames( {
- 'jetpack-contact-info-block': true,
- 'is-selected': isSelected,
- } ) }
- >
- <InnerBlocks allowedBlocks={ ALLOWED_BLOCKS } templateLock={ false } template={ TEMPLATE } />
- </div>
- );
-};
-
-export default ContactInfoEdit;