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
Allow pressing ENTER to change Reusable Block name #3993
It seems like we could improve this by handling the panel as a proper
form element, and binding to the
submit event, which would fire both for
<button type="submit" /> or while pressing enter within an input. What do you think? Not always a fan of explicitly handling specific key codes when there's an alternative browser default behavior available.
Apologies for the delay here, as I've been away from the computer the better part of the past two weeks. Took another look and appears / works great
Not related to these changes, but one usability issue with reusable blocks is that deselecting a block doesn't cancel the reusable block's
isEditing flag. Do you find this to be unexpected?