diff --git a/src/blocks/_pro/grid-column-item/deprecated/0.45.2/save.js b/src/blocks/_pro/grid-column-item/deprecated/0.45.2/save.js deleted file mode 100644 index 0c3954447..000000000 --- a/src/blocks/_pro/grid-column-item/deprecated/0.45.2/save.js +++ /dev/null @@ -1,10 +0,0 @@ -import { InnerBlocks } from '@wordpress/block-editor'; - -export default function save(props) { - const { className } = props; - return ( -
- -
- ); -} diff --git a/src/blocks/_pro/grid-column-item/deprecated/0.60.1/save.js b/src/blocks/_pro/grid-column-item/deprecated/0.60.1/save.js deleted file mode 100644 index 68770e020..000000000 --- a/src/blocks/_pro/grid-column-item/deprecated/0.60.1/save.js +++ /dev/null @@ -1,9 +0,0 @@ -import { InnerBlocks } from '@wordpress/block-editor'; - -export default function save() { - return ( -
- -
- ); -} diff --git a/src/blocks/_pro/grid-column-item/deprecated/index.js b/src/blocks/_pro/grid-column-item/deprecated/index.js index 6491350f1..f61012879 100644 --- a/src/blocks/_pro/grid-column-item/deprecated/index.js +++ b/src/blocks/_pro/grid-column-item/deprecated/index.js @@ -1,5 +1,3 @@ -import save0_45_2 from './0.45.2/save'; -import save0_60_1 from './0.60.1/save'; import save1_4_1 from './1.4.1/save'; import save1_13_2 from './1.13.2/save'; import save1_20_5 from './1.20.5/save'; @@ -156,13 +154,5 @@ const deprecated = [ attributes: blockAttributes, save: save1_4_1, }, - { - attributes: blockAttributes, - save: save0_60_1, - }, - { - attributes: blockAttributes, - save: save0_45_2, - }, ]; export default deprecated; diff --git a/src/blocks/_pro/grid-column/deprecated/0.57.4/component.js b/src/blocks/_pro/grid-column/deprecated/0.57.4/component.js deleted file mode 100644 index 3c422a6a4..000000000 --- a/src/blocks/_pro/grid-column/deprecated/0.57.4/component.js +++ /dev/null @@ -1,30 +0,0 @@ -import { InnerBlocks } from '@wordpress/block-editor'; - -export const ColumnResponsive0574 = (props) => { - const for_ = props.for_; - const containerClass = ' vk_grid-column'; - let elm; - - const ALLOWED_BLOCKS = [['vk-blocks/grid-column-item']]; - const TEMPLATE = ALLOWED_BLOCKS; - - //編集画面とサイト上の切り替え - if (for_ === 'edit') { - elm = ( -
- -
- ); - } else if ('save') { - elm = ( -
- -
- ); - } - return elm; -}; diff --git a/src/blocks/_pro/grid-column/deprecated/0.57.4/save.js b/src/blocks/_pro/grid-column/deprecated/0.57.4/save.js deleted file mode 100644 index 3a89c3b14..000000000 --- a/src/blocks/_pro/grid-column/deprecated/0.57.4/save.js +++ /dev/null @@ -1,11 +0,0 @@ -import { ColumnResponsive0574 } from './component'; - -export default function save({ attributes, className }) { - return ( - - ); -} diff --git a/src/blocks/_pro/grid-column/deprecated/0.60.1/component.js b/src/blocks/_pro/grid-column/deprecated/0.60.1/component.js deleted file mode 100644 index 0e7246040..000000000 --- a/src/blocks/_pro/grid-column/deprecated/0.60.1/component.js +++ /dev/null @@ -1,30 +0,0 @@ -import { InnerBlocks } from '@wordpress/block-editor'; - -export const ColumnResponsive = (props) => { - const for_ = props.for_; - const containerClass = ' vk_grid-column'; - let elm; - - const ALLOWED_BLOCKS = [['vk-blocks/grid-column-item']]; - const TEMPLATE = ALLOWED_BLOCKS; - - //編集画面とサイト上の切り替え - if (for_ === 'edit') { - elm = ( -
- -
- ); - } else if ('save') { - elm = ( -
- -
- ); - } - return elm; -}; diff --git a/src/blocks/_pro/grid-column/deprecated/0.60.1/save.js b/src/blocks/_pro/grid-column/deprecated/0.60.1/save.js deleted file mode 100644 index f0109458c..000000000 --- a/src/blocks/_pro/grid-column/deprecated/0.60.1/save.js +++ /dev/null @@ -1,9 +0,0 @@ -import { ColumnResponsive } from './component'; - -export default function save({ attributes }) { - return ( -
- -
- ); -} diff --git a/src/blocks/_pro/grid-column/deprecated/index.js b/src/blocks/_pro/grid-column/deprecated/index.js index 2c643f14a..cb08baed6 100644 --- a/src/blocks/_pro/grid-column/deprecated/index.js +++ b/src/blocks/_pro/grid-column/deprecated/index.js @@ -1,5 +1,3 @@ -import save0_57_4 from './0.57.4/save'; -import save0_60_1 from './0.60.1/save'; import save1_4_1 from './1.4.1/save'; import save1_13_2 from './1.13.2/save'; @@ -47,13 +45,5 @@ const deprecated = [ attributes: blockAttributes, save: save1_4_1, }, - { - attributes: blockAttributes, - save: save0_60_1, - }, - { - attributes: blockAttributes, - save: save0_57_4, - }, ]; export default deprecated; diff --git a/test/e2e-tests/fixtures/blocks/vk-blocks__grid-column__deprecated-0-60-1.html b/test/e2e-tests/fixtures/blocks/vk-blocks__grid-column__deprecated-0-60-1.html deleted file mode 100644 index d6bda93ee..000000000 --- a/test/e2e-tests/fixtures/blocks/vk-blocks__grid-column__deprecated-0-60-1.html +++ /dev/null @@ -1,19 +0,0 @@ - -
-
-

本文

-
- - - -
-

本文

-
- - - -
-

本文

-
-
- \ No newline at end of file