Skip to content

Block Directory: Issues in installing blocks from Inserter #69360

@karthikeya-io

Description

@karthikeya-io

Description

When debugging the the issue #69315 found that when installing a block from inserter and then saving the post the block plugin doesn't install and block disappears.

This issue does not occur in 6.7
This issue occurs when Show Template is enabled

Step-by-step reproduction instructions

  1. Click on inserter and search for a new block
  2. Install the block and save the page
  3. The block disappears and the plugin is not installed

Screenshots, screen recording, code snippet

  • Trunk Show Template enabled
block-install-gutenberg.mov
  • Works fine in 6.7 Works fine without Show Template enabled
block-install-6.7.mov

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Feature] Block DirectoryRelated to the Block Directory, a repository of block plugins[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions