Skip to content

Commit

Permalink
Add Reusable Blocks meun items
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Nov 16, 2021
1 parent b3e8366 commit 1e15eaf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
11 changes: 1 addition & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/edit-site/package.json
Expand Up @@ -50,6 +50,7 @@
"@wordpress/notices": "file:../notices",
"@wordpress/plugins": "file:../plugins",
"@wordpress/primitives": "file:../primitives",
"@wordpress/reusable-blocks": "file:../reusable-blocks",
"@wordpress/url": "file:../url",
"classnames": "^2.3.1",
"downloadjs": "^1.4.7",
Expand Down
2 changes: 2 additions & 0 deletions packages/edit-site/src/components/block-editor/index.js
Expand Up @@ -20,6 +20,7 @@ import {
store as blockEditorStore,
} from '@wordpress/block-editor';
import { useMergeRefs, useViewportMatch } from '@wordpress/compose';
import { ReusableBlocksMenuItems } from '@wordpress/reusable-blocks';

/**
* Internal dependencies
Expand Down Expand Up @@ -132,6 +133,7 @@ export default function BlockEditor( { setIsInserterOpen } ) {
) }
</__unstableBlockSettingsMenuFirstItem>
</BlockTools>
<ReusableBlocksMenuItems />
</BlockEditorProvider>
);
}

0 comments on commit 1e15eaf

Please sign in to comment.