Consider exposing the block list orientation through block context #23778
Labels
[Feature] Block API
API that allows to express the block paradigm.
[Type] Enhancement
A suggestion for improvement.
Is your feature request related to a problem? Please describe.
A couple of use cases came up recently in the navigation block for adding spacing and separators:
The editor already has Spacer and Separator blocks, but one issue is that the Navigation block can work both horizontally and vertically, while spacer and separator blocks are currently limited to working vertical layouts.
Describe the solution you'd like
If
orientation
were exposed through block context, the spacer and separator blocks could potentially be written in such a way that they automatically work in both horizontal and vertical lists.Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: