From e8e03b355694b8789acada872f026cb3a12c0900 Mon Sep 17 00:00:00 2001 From: "Michael P. Pfeiffer" Date: Tue, 2 Apr 2019 19:07:14 -0500 Subject: [PATCH] Remove unnecessary deprecation --- .../src/media-text/deprecated.js | 86 ------------------- 1 file changed, 86 deletions(-) diff --git a/packages/block-library/src/media-text/deprecated.js b/packages/block-library/src/media-text/deprecated.js index ce5056af6dd720..ab36e6859b3e84 100644 --- a/packages/block-library/src/media-text/deprecated.js +++ b/packages/block-library/src/media-text/deprecated.js @@ -18,92 +18,6 @@ import { import { DEFAULT_MEDIA_WIDTH } from './index'; export default [ - { - attributes: { - align: { - type: 'string', - default: 'wide', - }, - backgroundColor: { - type: 'string', - }, - customBackgroundColor: { - type: 'string', - }, - mediaAlt: { - type: 'string', - source: 'attribute', - selector: 'figure img', - attribute: 'alt', - default: '', - }, - mediaPosition: { - type: 'string', - default: 'left', - }, - mediaId: { - type: 'number', - }, - mediaUrl: { - type: 'string', - source: 'attribute', - selector: 'figure video,figure img', - attribute: 'src', - }, - mediaType: { - type: 'string', - }, - mediaWidth: { - type: 'number', - default: 50, - }, - isStackedOnMobile: { - type: 'boolean', - default: false, - }, - }, - save( { attributes } ) { - const { - backgroundColor, - customBackgroundColor, - isStackedOnMobile, - mediaAlt, - mediaPosition, - mediaType, - mediaUrl, - mediaWidth, - mediaId, - } = attributes; - const mediaTypeRenders = { - image: () => {, - video: () =>