-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LinkControl: Add control for adding blocks #50888
Labels
[Block] Navigation Link
Affects the Navigation Link Block
[Feature] Link Editing
Link components (LinkControl, URLInput) and integrations (RichText link formatting)
Needs Dev
Ready for, and needs developer efforts
[Package] Block editor
/packages/block-editor
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
Comments
This seems good. It's specific to the Navigation Link and Submenu blocks so I'll bear that in mind. |
You can add blocks to submenus? |
Oh no actually you can't. Only "link" blocks. Ignore me 😄 |
This was referenced Oct 4, 2023
What if we just show the inserter sidebar directly when add block is clicked? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Block] Navigation Link
Affects the Navigation Link Block
[Feature] Link Editing
Link components (LinkControl, URLInput) and integrations (RichText link formatting)
Needs Dev
Ready for, and needs developer efforts
[Package] Block editor
/packages/block-editor
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
Part of #50891
Currently, the Navigation Link block adds
LinkControlTransforms
to the foot of LinkControl.Instead, let's simplify (while adding more functionality) by nesting the available blocks so that they are available after indicating the intent of adding a block.
I'm thinking a single "Add block" control that changes the state of LinkControl to a form of the quick inserter.
Tasks
Visual
Full flow
Related
#47063
The text was updated successfully, but these errors were encountered: