-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Reusable Blocks: Incorrect label appears in block breadcrumb component #12079
Comments
I tried testing exactly with the steps you provided (maybe too exactly!) and I found that if I create a reusable block, open a new post, add the reusable block, it is still correctly labeled "Reusable Block." I noticed that in your screenshot you've inserted a group of blocks—looks like it's some headings and paragraphs and social media icons—which I think may actually be a template and so it may be labeled correctly. Can you walk me through how to create the exact same reusable block (or group of blocks) that you have in your screenshot? Was that technically created as a template? |
Thanks for your quick reply and following what I asked. I followed my steps exactly as well and didn't see what I was getting at. I guess I assumed someone would figure out the finer details from the images. I wasn't expecting someone to follow them exactly, I must have assumed too much. The social media icons are a custom block. No templates are used or in effect. The exact steps are:
|
Thank you for the addition information. Okay. I think I understand the problem better now. The label for a reusable block is "Reusable Block" (screenshot) but if you create a reusable block with multiple blocks in it then edit the reusable block and hover over one of the blocks inside then the label is something like "Reusable Template → Paragraph".
Adding the |
There has been some changes to the interface here but a similar bug still exists. Now, if you select multiple blocks, turn them into a Reusable Block, edit that Reusable Block, and select one of the inner blocks, you'll see an empty label in the status bar navigator: Instead of |
When I hover over a reusable block before I click on it shows the label in the top right corner to be "Reusable Block" as expected. When I'm editing the reusable block and hover over a block inside the reusable block the label in the top right corner shows "Reusable Template" as the parent when I would expect "Reusable Block". I'm a site developer working to understand exactly how Gutenberg is put together and works. When using Gutenberg I've started to use the hover labels in the top right to tell me where I am and is incredibly helpful when working with block nesting (inner blocks). If this is intentional and part of how reusable blocks work could you link me to the documentation? If this is only a labeling mistake, would you mind mending it? It would help with clarity for me during this change of editor.
Thanks for your work!
To Reproduce
Expected behavior
I was expecting the labels to both use "Reusable Block".
Screenshots
Desktop
The text was updated successfully, but these errors were encountered: