Skip to content

Commit

Permalink
Format Toolbar Popover: use new placement prop instead of legacy posi…
Browse files Browse the repository at this point in the history
…tion prop
  • Loading branch information
ciampo committed Oct 28, 2022
1 parent 67fe26f commit d1a6c1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function InlineSelectionToolbar( {
function InlineToolbar( { popoverAnchor } ) {
return (
<Popover
position="top center"
placement="top"
focusOnMount={ false }
anchor={ popoverAnchor }
className="block-editor-rich-text__inline-format-toolbar"
Expand Down

0 comments on commit d1a6c1a

Please sign in to comment.