Skip to content

Commit b0f6ad8

Browse files
committed
Small fix
1 parent c509d2c commit b0f6ad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/editor/src/components/block-settings-menu/plugin-block-settings-menu-item.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const shouldRenderItem = ( selectedBlocks, allowedBlocks ) =>
3838
* ```js
3939
* // Using ES5 syntax
4040
* var __ = wp.i18n.__;
41-
* var PluginBlockSettingsMenuItem = wp.editPost.PluginBlockSettingsMenuItem;
41+
* var PluginBlockSettingsMenuItem = wp.editor.PluginBlockSettingsMenuItem;
4242
*
4343
* function doOnClick(){
4444
* // To be called when the user clicks the menu item.
@@ -61,7 +61,7 @@ const shouldRenderItem = ( selectedBlocks, allowedBlocks ) =>
6161
* ```jsx
6262
* // Using ESNext syntax
6363
* import { __ } from '@wordpress/i18n';
64-
* import { PluginBlockSettingsMenuItem } from '@wordpress/edit-post';
64+
* import { PluginBlockSettingsMenuItem } from '@wordpress/editor';
6565
*
6666
* const doOnClick = ( ) => {
6767
* // To be called when the user clicks the menu item.

0 commit comments

Comments
 (0)