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

Block shortcuts change order after inserting multiple of same type #18251

Closed
jarretc opened this issue Nov 3, 2019 · 2 comments
Closed

Block shortcuts change order after inserting multiple of same type #18251

jarretc opened this issue Nov 3, 2019 · 2 comments

Comments

@jarretc
Copy link

jarretc commented Nov 3, 2019

gutenberg-shortcuts

I'm not quite sure what to call the 3 icons on the far right of the new block input other than shortcuts, see above image for reference ( media, heading, page break )

Replication

  1. Create a new post
  2. Hover over default paragraph block below title block, click the 2nd icon
  3. Repeat step 2 a few times, eventually you'll see the icon move into the 1st position

This doesn't appear to happen when inserting multiple page breaks however assuming the page break is the 3rd icon. The issue only appears to happen between the 1st and 2nd icons

Tested in WP 5.2.4 with default editor as well as Gutenberg plugin ( 6.8.0 ) active

@swissspidy
Copy link
Member

These shortcuts show the most commonly blocks, ordered by how often you've used them. So the icon moving to first position after using it multiple times is expected behavior.

@jarretc
Copy link
Author

jarretc commented Nov 3, 2019

Thanks for the response, I suppose that makes sense! Will close out this issue

@jarretc jarretc closed this as completed Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants