The Image Block to show up when you search for Image.
The Image Block doesn't appear when you search for "Image."
All
Just want to majorly +1 this. I'm seeing customers add the tiled gallery when all they wanted was one image.
Same comment as above - I find it frustrating when I type /image
and press enter only to create a GIF block :)
I ran into this today as well when searching for Video.
I ran into this today as well when searching for Video.
Filed: https://github.com/Automattic/wp-calypso/issues/45140
This is the expected behavior for Gutenberg at this time. Any proposals and changes should happen in the Gutenberg project.
Searches are sorted based on _frecency_. Depending on usage, you may get different results. I tested this and get these results:
Image
Video
These are exactly the results I'd expect.
This is very much dependent on a user's behavior and the inserter is behaving as expected. I do agree that the results could be better when the search term is very close to the name of a specific block. For example, blocks could be weighted by edit distance. It's a conversation that needs to happen in the core Gutenberg project.
*Note: In your screenshot there's an additional block _Story (beta)_ that's not available in production.
[鈥 I find it frustrating when I type
/image
and press enter only to create a GIF block :)
@rfaile313 That's another issue, the Slash Inserter is different from the Quick Inserter mentioned in the description. Again, this is a conversation that needs to happen in the Gutenberg project. I find it odd that it doesn't use the same sorting as the quick inserter. The slash inserter would likely benefit from the same sort of weighting I mentioned above.
I folks would like to raise these feature requests in Gutenberg, they're welcome to, please link here. If not, @Automattic/good-mountain will create issues for the quick inserter and slash inserter in the next couple of days.
This should be addressed in Gutenberg 9 by https://github.com/WordPress/gutenberg/pull/25105.
That change addresses these two issues which result in the behavior described here:
The problem does seem to be fixed. I cleared the localstorage data for my simple test site (unsandboxed, running GB 9), and both "Image" and "Video" appears as the first item in the first row in the quick inserter (main editor or layout column).
Most helpful comment
This should be addressed in Gutenberg 9 by https://github.com/WordPress/gutenberg/pull/25105.
That change addresses these two issues which result in the behavior described here: