Skip to content
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

Allow customization of InnerBlocks block library inserter #17280

Closed
mkaz opened this issue Aug 30, 2019 · 1 comment
Closed

Allow customization of InnerBlocks block library inserter #17280

mkaz opened this issue Aug 30, 2019 · 1 comment
Labels
[Feature] Nested / Inner Blocks Anything related to the experience of nested/inner blocks inside a larger container, like Group or P

Comments

@mkaz
Copy link
Member

mkaz commented Aug 30, 2019

A nice extension to InnerBlocks would be the ability to modify the block inserter that is used.

The need arose while developing the Social Links #16897 PR which uses InnerBlocks to contain each of the links, this gives search and other features from the block inserter but brings along features such as the tip/description part.

image

Describe the solution you'd like
It would be nice to be apple to pass options to the inserter something like:

<InnerBlocks
    inserterOptions={ showDescription: false  }
    ...
/>

Describe alternatives you've considered

The only option I found to extend would be to use the renderAppender but that would require recreating the majority of the block inserter.

@mkaz mkaz added the [Feature] Nested / Inner Blocks Anything related to the experience of nested/inner blocks inside a larger container, like Group or P label Aug 30, 2019
@mtias
Copy link
Member

mtias commented Aug 30, 2020

Closing as the quick inserter doesn't come with the tips / preview now.

@mtias mtias closed this as completed Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Nested / Inner Blocks Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
Projects
None yet
Development

No branches or pull requests

2 participants