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

Video block doesn't appear when searching for video in the small block picker #25534

Closed
johnbillion opened this issue Sep 22, 2020 · 2 comments
Closed
Labels
[Block] Video Affects the Video Block [Feature] Inserter The main way to insert blocks using the + button in the editing interface [Type] Bug An existing feature does not function as intended

Comments

@johnbillion
Copy link
Member

Describe the bug

When using the small block picker from the [+] button in between existing blocks, the Video block type doesn't show up if you search for the word "video".

I think this might be because this block picker is now restricted to six results, and there are many block types that support video.

To reproduce

  1. Edit a post
  2. Click the [+] button below an existing block
  3. Search for "video"
  4. Observe that the Video block type does not appear

Expected behavior

The Video block type really ought to appear

Screenshots

Editor version (please complete the following information):

  • WordPress version: 5.6 alpa
  • Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? "default"
@johnbillion johnbillion added [Block] Video Affects the Video Block [Feature] Inserter The main way to insert blocks using the + button in the editing interface [Type] Bug An existing feature does not function as intended labels Sep 22, 2020
@mtias
Copy link
Member

mtias commented Sep 22, 2020

This was improved generally in #25105 (prioritizes name matches, core blocks, etc). We should probably consider to back port it to a minor release as it can be pretty frustrating:

image

@tellthemachines
Copy link
Contributor

I can no longer reproduce this on the master branch. Can we close this issue now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Video Affects the Video Block [Feature] Inserter The main way to insert blocks using the + button in the editing interface [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants