mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-26 04:08:01 +03:00
848eda5656
closes https://github.com/TryGhost/Ghost/issues/8196 The default state of both the '/' and '+' card menus is a selection of -1, this ensure that the active tool prompt isn't shown until the user presses an arrow key for keyboard selection. However -1 isn't a valid tool id so when pressing enter without selecting a tool the user will cause an error. This update ensures that the selected tool is the first tool available even if the selection is in fact -1. |
||
---|---|---|
.. | ||
asset-delivery | ||
gh-koenig |