Bringing gesture-based actions to the block editor for a faster authoring experience.
$ wp plugin install https://github.com/darrenjacoby/gutenberg-gestures/archive/master.zip --activate
Gestures has been submitted to the WordPress plugin directory for review, however at the time of writing there is a 60 day waiting period.
$ composer require darrenjacoby/gutenberg-gestures
- PHP >= 7.4.0
Action is limited to the left hand side of the editor.
→
to open.←
to close.
editor-list-view.mp4
Action is limited to the left hand side of the editor. No block must be selected.
cmd/→
right to open.
editor-inserter.mp4
Action is limited to the right hand side of the editor.
←
to open.→
to close.
editor-sidebar.mp4
↓
to move block down.
Supports nested blocks; if the selected block is nested and is the last item, the parent block will move down.
block-move-down.mp4
↑
to move block up.
Supports nested blocks; if the selected block is nested and is the first item, the parent block will move up.
block-move-up.mp4
cmd/↓
to duplicate block.cmd/shift/↓
to duplicate the parent block of a selected block.
For trackpads and touchscreens;
pinch/outwards
to duplicate a block.
block-duplicate.mp4
cmd/↑
to delete block.
For trackpads and touchscreens;
pinch/inwards
to delete a block.
block-delete.mp4
cmd/←
to insert a new block before the selected block.
block-insert-before.mp4
cmd/→
to insert a new block before the selected block.
block-insert-after.mp4
cmd/shift/←
to lock the selected block.
block-lock.mp4
cmd/shift/→
to edit the selected block as HTML.
block-edit-as-html.mp4
Follow along for more block editor experiments.