Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Gutenberg dev queries

$
0
0

Replies: 0

Hello.

Trying to get onboard with Gutenberg and looking for some good resources. Have a couple of specific queries after reviewing the handbook:

1. Is there a complete example of adding a custom block that uses a third party library. I’m thinking of building a slideshow block or an instagram feed (for example). Presumably this needs to be added as part of the view

2. Is there a method for customising the output of the block per page. Appreciate there are the block styles – but these seem to be associated to the block as a whole. We build custom themes / sites – and sometimes don’t want a block style to be available across every page on a site.

3. What happens when core blocks are updated in the future – will that break pages that have used the old version of the block. What is the upgrade path and are we safer to disable the core blocks and roll our own.

4. Is there an interface / established best practise for a block where the user needs to select / upload multiple pieces of content. (again thinking about a slider or slideshow). Looking at example WooCommerce seems to have a screen in the editor where you select options, some plugins list the variants in the editor in a stack. (https://woocommerce.com/products/woocommerce-gutenberg-products-block/)

5. How do we safely make updates to blocks without invalidating them, is that even possible? (https://wordpress.org/gutenberg/handbook/designers-developers/developers/block-api/block-edit-save/#validation).

6. Is there any discussion going on about where to best bundle the blocks, should we be putting them in a plugin or a theme.

Any pointers welcome.

Thanks,

Ian.


Viewing all articles
Browse latest Browse all 59525

Trending Articles