Skip to content

InnerBlocks have no inserter when core/paragraph is not in allowedBlocks #7763

Closed

Description

This happened with 3.2 when the core/paragraph is no longer rendered (which is great).

Describe the bug
<InnerBlocks> have no block inserter when core/paragraph is not in the allowedBlocks prop.

Only way I can insert more blocks is to add a template with the block I want and then duplicate it.

Do I need to render the inserter myself?

To Reproduce
Steps to reproduce the behavior:

  1. <wp.editor.InnerBlocks allowedBlocks={['custom/element']} />

There is not even the "inbetween" inserter, which usually allowed to add a block above a block, but not below for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    [Feature] InserterThe main way to insert blocks using the + button in the editing interface[Feature] Nested / Inner BlocksAnything related to the experience of nested/inner blocks inside a larger container, like Group or P

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions