diff --git a/packages/editor/src/components/block-settings-menu/plugin-block-settings-menu-item.js b/packages/editor/src/components/block-settings-menu/plugin-block-settings-menu-item.js index 322aa07db80f8..59c9e9c32d4a4 100644 --- a/packages/editor/src/components/block-settings-menu/plugin-block-settings-menu-item.js +++ b/packages/editor/src/components/block-settings-menu/plugin-block-settings-menu-item.js @@ -38,7 +38,7 @@ const shouldRenderItem = ( selectedBlocks, allowedBlocks ) => * ```js * // Using ES5 syntax * var __ = wp.i18n.__; - * var PluginBlockSettingsMenuItem = wp.editPost.PluginBlockSettingsMenuItem; + * var PluginBlockSettingsMenuItem = wp.editor.PluginBlockSettingsMenuItem; * * function doOnClick(){ * // To be called when the user clicks the menu item. @@ -61,7 +61,7 @@ const shouldRenderItem = ( selectedBlocks, allowedBlocks ) => * ```jsx * // Using ESNext syntax * import { __ } from '@wordpress/i18n'; - * import { PluginBlockSettingsMenuItem } from '@wordpress/edit-post'; + * import { PluginBlockSettingsMenuItem } from '@wordpress/editor'; * * const doOnClick = ( ) => { * // To be called when the user clicks the menu item.