A way to group blocks inside lexical editor #10791
matt-westlake-arch
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a site that has around 30 different blocks and scrolling to find them can be tedious.
BlocksFeature({ blocks: [Hero, SecondaryHero, Spacing, TextContent, YouTube, Banner], }),
It would be great if i could group my blocks with the relevant sections
Instead of a list that looks like
Hero
Secondary Hero
Spacing
Text content
YouTube video
Banner
I could group them with title so it would appear like
Heros:
- Hero
- Secondary Hero
Formatting:
Etc
Maybe it could be like
BlocksFeature({ blocks: [ { label: 'Heros', blocks: [Hero, SecondaryHero] } ... ], }),
These would obviously be custom defined but would be a nice feature
Beta Was this translation helpful? Give feedback.
All reactions