Skip to content

Commit

Permalink
Tiled gallery block: add wp-blob dependency (#11043)
Browse files Browse the repository at this point in the history
Adds `@wordpress/blob` dependency for Tiled gallery since the block depends to it as of Automattic/wp-calypso#29559

## Testing

- Switch to `update/g7g-tg-consistent-layout` branch in Calypso
- Build blocks: `npm run sdk -- gutenberg ./client/gutenberg/extensions/presets/jetpack/ /PATH_TO_JETPACK/_inc/blocks/`
- Insert tiled gallery block
- **Upload** images to gallery. Blob URLs are URLs for images that are still uploading.
- The block can feel little broken due other issues but it shouldn't complain about missing dependency. ✨ (both editor and when publishing and looking at the page/post)
  • Loading branch information
simison authored and jeherve committed Jan 3, 2019
1 parent 82d71da commit 1865f08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions class.jetpack-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ public static function enqueue_block_editor_assets() {
array(
'lodash',
'wp-api-fetch',
'wp-blob',
'wp-blocks',
'wp-components',
'wp-compose',
Expand Down

0 comments on commit 1865f08

Please sign in to comment.