Skip to content

Commit 67e9a3d

Browse files
Upgrade gallery block to apiVersion 2
1 parent 0ac7a15 commit 67e9a3d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

js/gallery-block.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '8cc16b66e5e52f290d81');
1+
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'fee80877520a08e9e0b4');

js/gallery-block.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/gallery-block/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import save from './save';
1212
import attributes from './attributes.json';
1313

1414
registerBlockType( 'cloudinary/gallery', {
15+
apiVersion: 2,
1516
title: __( 'Cloudinary Gallery', 'cloudinary' ),
1617
description: __(
1718
'Add a gallery powered by the Cloudinary Gallery Widget to your post.',

0 commit comments

Comments
 (0)