-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new Insert Before/After menu items and shortcuts (#8909)
Adds the following keyboard shortcuts for those actions: Option+Cmd+T (Mac) / Ctrl+Alt+T - Insert Before Option+Cmd+Y (Mac) / Ctrl+Alt+Y - Insert After Changes: * Add basic insert before and insert after buttons to block settings menu * Add keyboard shortcuts for insert before and insert after * Change insert before/after shortcuts to meta+alt+t and meta+alt+y * Add comment explaining use of preventDefault * Add insert before/after shortcuts to keyboard help * Do not show Insert Before/After menu items when a block is template locked * Disallow block settings actions that can be triggered through shortcuts and should not be possible when template locking is active * Tidy up comments - Add full-stops - Remove comment that no longer seems relevant (component is not a DropDown)
- Loading branch information
Showing
3 changed files
with
106 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters