-
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
Unable to find/add reusable blocks via inline + button #68752
Comments
Hi @xpurichan, this change appears intentional and is implemented in this PR: #67738. It's better described in the discussion of this related issue: #67693. |
Great find, and thanks for bringing that to light @yogeshbhutkar. Tagging in @richtabor, @rohitmathur-7, and @talldan for further consideration on #67693 I suppose I feel like this is a bit short-sighted. While I do understand the concerns presented in #67693 and how this could lead to a confusing user experience, I feel as though we did not consider that users use patterns inside of blog posts every day. Now this flow no longer exists for them. Is there more than can be done to guide users on choosing appropriate blocks in certain contexts? IE a list of Suggested blocks which appear first based on being inside certain template areas, for example? How can we evaluate the number of users who have a flow that can no longer be used, vs confusion caused by forcing patterns inside unlikely/unwanted places? While I believe that |
I think it's worth discussing again whether this new behavior is acceptable in the upcoming WordPress 6.8 release. Let's add this to the project board. |
Agree that the I for one really dislike that I cannot use the |
Agreed. Items displayed in "inline" and "quick" inserter should be consistent. While the new pattern insertion flows (Zoom out) are being polished, allowing them back in "Quick Inserter" might be more manageable. Proposed requirements for reverting:
What do you think? |
In the current main inserter, if the block/pattern cannot be inserted there, it seems to insert the block/pattern next to the parent block. For example:
Does this mean that we apply this logic to the quick inserter as well? |
I think it should display "No results found." in Quick Inserter when a pattern can't be inserted in the current container.
This behavior needs some polishing. There's no indicator that the block will be inserted below the current container. Btw, this is a separate issue. |
Created a PR that restores patterns in Quick Inserter - #69028. |
Description
On Gutenberg version 19.9 and older we're able to use the "+" button inline in the editor to search for and add reusable blocks. Since version 20.0 the results come up empty.
Workaround: Reusable blocks can still be added by using the "+" button at the top of the editor/toolbar and with the
/
command on a new line.Screenshots:
When using the inline "+" button of the editor, we see "No results" come up when searching for an existing reusable block to add:

When using the

/
command to search for a reusable block we do see results.Step-by-step reproduction instructions
Note that reusable blocks can be added by other means, including the "+" button at the top of the editor, and via the
/
command.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: