Skip to content

Commit

Permalink
Add block toolbar popover slots (#20458)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Feb 27, 2020
1 parent 41a0d8b commit cecd8ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/edit-site/src/components/editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ function Editor( { settings: _settings } ) {
content={
<>
<Notices />
<Popover.Slot name="block-toolbar" />
<BlockEditor />
</>
}
Expand Down
1 change: 1 addition & 0 deletions packages/edit-widgets/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function Layout( { blockEditorSettings } ) {
content={
<>
<Notices />
<Popover.Slot name="block-toolbar" />
<div
className="edit-widgets-layout__content"
tabIndex="-1"
Expand Down
1 change: 1 addition & 0 deletions storybook/stories/playground/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function App() {
<BlockInspector />
</div>
<div className="editor-styles-wrapper">
<Popover.Slot name="block-toolbar" />
<BlockEditorKeyboardShortcuts />
<WritingFlow>
<ObserveTyping>
Expand Down

0 comments on commit cecd8ab

Please sign in to comment.