Skip to content

Commit

Permalink
Feature/18066 add plugin area to widgets screen (#25074)
Browse files Browse the repository at this point in the history
* Add PluginArea to WidgetAreasBlockEditorProvider

* Update package-lock.json.
  • Loading branch information
Ryan Welcher authored Sep 11, 2020
1 parent 162ce54 commit ca167e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 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-widgets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"@wordpress/keycodes": "file:../keycodes",
"@wordpress/media-utils": "file:../media-utils",
"@wordpress/notices": "file:../notices",
"@wordpress/plugins": "file:../plugins",
"classnames": "^2.2.5",
"lodash": "^4.17.19",
"rememo": "^3.0.0"
Expand Down
2 changes: 2 additions & 0 deletions packages/edit-widgets/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { Popover } from '@wordpress/components';
import { useSelect } from '@wordpress/data';
import { InterfaceSkeleton, ComplementaryArea } from '@wordpress/interface';
import { PluginArea } from '@wordpress/plugins';

/**
* Internal dependencies
Expand Down Expand Up @@ -39,6 +40,7 @@ function Layout( { blockEditorSettings } ) {
/>
<Sidebar />
<Popover.Slot />
<PluginArea />
</WidgetAreasBlockEditorProvider>
);
}
Expand Down

0 comments on commit ca167e4

Please sign in to comment.