File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const shouldRenderItem = ( selectedBlocks, allowedBlocks ) =>
38
38
* ```js
39
39
* // Using ES5 syntax
40
40
* var __ = wp.i18n.__;
41
- * var PluginBlockSettingsMenuItem = wp.editPost .PluginBlockSettingsMenuItem;
41
+ * var PluginBlockSettingsMenuItem = wp.editor .PluginBlockSettingsMenuItem;
42
42
*
43
43
* function doOnClick(){
44
44
* // To be called when the user clicks the menu item.
@@ -61,7 +61,7 @@ const shouldRenderItem = ( selectedBlocks, allowedBlocks ) =>
61
61
* ```jsx
62
62
* // Using ESNext syntax
63
63
* import { __ } from '@wordpress/i18n';
64
- * import { PluginBlockSettingsMenuItem } from '@wordpress/edit-post ';
64
+ * import { PluginBlockSettingsMenuItem } from '@wordpress/editor ';
65
65
*
66
66
* const doOnClick = ( ) => {
67
67
* // To be called when the user clicks the menu item.
You can’t perform that action at this time.
0 commit comments