Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ignore leading slash when searching blocks in block inserter #8466
Resolves #7446 by ignoring a leading slash when searching blocks in the block inserter. After this change, users who are accustomed to triggering a quick block search by typing "/" in a paragraph block can expect the same behavior from the block inserter search.
How has this been tested?
I added one unit test to cover the change and verified locally in the editor that the block search works as expected.
Types of changes
This is an update to an existing feature that modifies its behavior slightly (in the case where a user types a leading slash into the block inserter search).