diff --git a/docs/reference-guides/slotfills/plugin-document-setting-panel.md b/docs/reference-guides/slotfills/plugin-document-setting-panel.md index d278a9e96981d1..b6d6ce1c31f0a4 100644 --- a/docs/reference-guides/slotfills/plugin-document-setting-panel.md +++ b/docs/reference-guides/slotfills/plugin-document-setting-panel.md @@ -13,7 +13,7 @@ This SlotFill allows registering a UI to edit Document settings. ```js import { registerPlugin } from '@wordpress/plugins'; -import { PluginDocumentSettingPanel } from '@wordpress/editor'; +import { PluginDocumentSettingPanel } from '@wordpress/edit-post'; const PluginDocumentSettingPanelDemo = () => ( { const { toggleEditorPanelOpened } = useDispatch( editorStore ); @@ -76,7 +76,7 @@ It is also possible to remove panels from the admin using the `removeEditorPanel ```js import { useDispatch } from '@wordpress/data'; -import { store as editorStore } from '@wordpress/editor'; +import { store as editorStore } from '@wordpress/edit-post'; const Example = () => { const { removeEditorPanel } = useDispatch( editorStore );