Title: Reusable Blocks extracted into a separate package
Author: Isabel Brison
Published: November 18, 2020

---

 [  ](https://profiles.wordpress.org/isabel_brison/) [Isabel Brison](https://profiles.wordpress.org/isabel_brison/)
2:43 am _on_ November 18, 2020     
Tags: [5.6 ( 85 )](https://make.wordpress.org/core/tag/5-6/),
[block-editor ( 144 )](https://make.wordpress.org/core/tag/block-editor/), [dev-notes ( 648 )](https://make.wordpress.org/core/tag/dev-notes/)

# Reusable Blocks extracted into a separate package

Reusable blocks are a feature available in the post editor. They were previously
part of the `@wordpress/editor` package. To make them available in other editors,
they have been moved to a separate package called `@wordpress/reusable-blocks`.

## How it works

To enable reusable blocks in your blockBlock Block is the abstract term used to 
describe units of markup that, composed together, form the content or layout of 
a webpage using the WordPress editor. The idea combines concepts of what in the 
past may have achieved with shortcodes, custom HTML, and embed discovery into a 
single consistent API and user experience. editor, simply change your `<BlockEditorProvider/
>` as follows:

    ```notranslate
    import { ReusableBlocksMenuItems } from '@wordpress/reusable-blocks';

    const { __experimentalReusableBlocks } = useSelect(
        ( select ) => select( 'core' ).getEntityRecords(
            'postType',
            'wp_block',
        )
    );

    return (
        &lt;BlockEditorProvider
            settings={ {
                ...settings,
                __experimentalReusableBlocks,
            } }
            { ...props } // value, onInput, onChange, etc.
        >
            &lt;ReusableBlocksMenuItems />
            { children }
        &lt;/BlockEditorProvider>
    );
    ```

Props to [@zieladam](https://profiles.wordpress.org/zieladam/) for writing this 
dev notedev note Each important change in WordPress Core is documented in a developers
note, (usually called dev note). Good dev notes generally include a description 
of the change, the decision that led to this change, and a description of how developers
are supposed to work with that change. Dev notes are published on Make/Core blog
during the beta phase of WordPress release cycle. Publishing dev notes is particularly
important when plugin/theme authors and WordPress developers need to be aware of
those changes.In general, all dev notes are compiled into a Field Guide at the beginning
of the release candidate phase..

[#5-6](https://make.wordpress.org/core/tag/5-6/), [#block-editor](https://make.wordpress.org/core/tag/block-editor/),
[#dev-notes](https://make.wordpress.org/core/tag/dev-notes/)

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2020/11/18/reusable-blocks-extracted-into-a-separate-package/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2020/11/18/reusable-blocks-extracted-into-a-separate-package/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2020/11/18/reusable-blocks-extracted-into-a-separate-package/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2020/11/18/reusable-blocks-extracted-into-a-separate-package/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2020/11/18/reusable-blocks-extracted-into-a-separate-package/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2020/11/18/reusable-blocks-extracted-into-a-separate-package/?share=linkedin)

# Post navigation

[← Block Supports In WordPress 5.6](https://make.wordpress.org/core/2020/11/18/block-supports-in-wordpress-5-6/)

[Editor styling changes in WordPress 5.6 →](https://make.wordpress.org/core/2020/11/18/editor-styling-changes-in-wordpress-5-6/)