Skip to content

Related Posts Block: Available in Block Picker even if Disabled #11861

Closed

Description

Steps to reproduce

  1. On a WP.com test site, start a new post in the block editor, and add a 'Related Posts' block.
  2. Publish and view the post to verify that the block is present on the frontend.
  3. At https://wordpress.com/settings/traffic/<yourSite>, disable the Related Posts toggle
  4. Reload the published posts, and verify that the Related Posts block is no longer visible
  5. Edit the post again in Calypso.

What I expected

The block to be disabled (showing an error that it's unavailable), and to be missing from the block picker

What happened instead

The block is still there (displaying example content), and is still shown in the block picker

Context

In Jetpack, this works as expected.

I'm guessing something is wrong with block registration.

/cc @tyxla

Primary issue

#32401

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

Metadata

Assignees

Labels

[Feature] Related Posts[Focus] BlocksIssues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack[Pri] Normal[Type] BugWhen a feature is broken and / or not performing as intended

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions