Skip to content

Commit

Permalink
Add support for orientation-based block movers to core/social-links (#…
Browse files Browse the repository at this point in the history
…48452)

* Add check for orientation

* Add fallback
  • Loading branch information
richtabor authored and ntsekouras committed Feb 28, 2023
1 parent 4b38293 commit f3a7279
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/social-links/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export function SocialLinksEdit( props ) {
allowedBlocks: ALLOWED_BLOCKS,
placeholder: isSelected ? SelectedSocialPlaceholder : SocialPlaceholder,
templateLock: false,
orientation: attributes.layout?.orientation ?? 'horizontal',
__experimentalAppenderTagName: 'li',
} );

Expand Down

0 comments on commit f3a7279

Please sign in to comment.