-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate and document use of reusable blocks in Gutenberg #79
Comments
Released in 5.5: https://github.com/WordPress/gutenberg/releases/tag/v5.5.0 WP 5.2 is up to Gutenberg 5.4: https://make.wordpress.org/core/2019/04/16/wordpress-5-2-field-guide/ |
Reusable blocks are not documented in WordPress's user handbook (https://wordpress.org/support/article/wordpress-editor/) or developer docs (https://developer.wordpress.org/block-editor/), so we should think about submitting any documentation we create for INN's users here to WordPress.org: WordPress/gutenberg#11210 |
If we're going to want to rely on reusable blocks, we may want to add a sidebar link directly to the list of reusable blocks, as described in WordPress/gutenberg#15549 (comment): add_action( 'admin_menu', 'linked_url' );
function linked_url() {
add_menu_page( 'linked_url', 'Reusable Blocks', 'read', 'edit.php?post_type=wp_block', '', 'dashicons-editor-table', 22 );
}
add_action( 'admin_menu' , 'linkedurl_function' );
function linkedurl_function() {
global $menu;
$menu[1][2] = "/wp-admin/edit.php?post_type=wp_block";
} |
I expect that reused content will last for several paragraphs. There's no interface to make multiple content blocks reusable in a coherent chunk, so we'll have to make those chunks of content into a single block somehow. That means we'll need a container block, which is what the Group block is. To get the Group block, we'll need to install the Gutenberg plugin on staging, at least until the next major WordPress release. @MirandaEcho / @kaylima what documentation do you think we'll need for our users? That I can foresee:
|
On hold until after the training meeting. |
Noting that I just worked on and published this doc: https://wordpress.org/support/article/reusable-blocks/ Closing the loop just in case it's helpful :) |
The text was updated successfully, but these errors were encountered: