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

Selecting a block inside a reusable block shows "No block selected" message in the sidebar #26670

Closed
mrfoxtalbot opened this issue Nov 3, 2020 · 0 comments · Fixed by #27887
Labels
[Block] Block The "Reusable Block" Block [Feature] Block settings menu The block settings screen [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Bug An existing feature does not function as intended

Comments

@mrfoxtalbot
Copy link

mrfoxtalbot commented Nov 3, 2020

Describe the bug
If you click on a block that's sitting inside a reusable block, no options for that block will show, instead a "No block selected" message is seen in the sidebar.

To reproduce
Steps to reproduce the behavior:

  1. Create a new post and add one or more blocks
  2. Convert the blocks into a reusable block
  3. Edit the reusable block and select one of the blocks sitting inside.
  4. No settings for that block will be described, only a "No block selected" message.

Expected behavior
I would expect to be able to modify a block's settings, even if it is sitting inside a reusable block.

Screenshots
Screen Shot 2020-11-03 at 20 10 11

The error goes away if we edit the reusable block via the "Manage All Reusable Blocks" section:

Screen Shot 2020-11-03 at 20 11 37

Editor version (please complete the following information):

  • WordPress 5.5.3
  • Gutenberg 9.2.2

The problem seems to occur with and without the plugin.

Desktop (please complete the following information):

  • Mac OS 10.13.6
  • Chrome 86.0.4240.111
@mrfoxtalbot mrfoxtalbot changed the title Selecting a block inside a reusable block shows a "No block selected" message in the sidebar Selecting a block inside a reusable block shows "No block selected" message in the sidebar Nov 3, 2020
@annezazu annezazu added [Block] Block The "Reusable Block" Block [Feature] Block settings menu The block settings screen [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Bug An existing feature does not function as intended labels Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Block The "Reusable Block" Block [Feature] Block settings menu The block settings screen [Feature] Synced Patterns Related to synced patterns (formerly reusable blocks) [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants