darrenjacoby/gutenberg-gestures 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

darrenjacoby/gutenberg-gestures

最新稳定版本:0.0.1

Composer 安装命令:

composer require darrenjacoby/gutenberg-gestures

包简介

WordPress Gutenberg gesture-based actions for a more expressive editorial experience.

README 文档

README

Bringing gesture-based actions to the block editor for a faster authoring experience.

Installation

WP-CLI

$ 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

$ composer require darrenjacoby/gutenberg-gestures

Requirements

Usage

Quick Reference

Editor

Block

Editor

Editor/Toggle List View

Action is limited to the left hand side of the editor.

  • to open.
  • to close.
editor-list-view.mp4

Editor/Toggle Inserter

Action is limited to the left hand side of the editor. No block must be selected.

  • cmd/→ right to open.
editor-inserter.mp4

Editor/Toggle Sidebar

Action is limited to the right hand side of the editor.

  • to open.
  • to close.
editor-sidebar.mp4

Block

Block/Move Down

  • 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

Block/Move Up

  • 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

Block/Duplicate

  • 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

Block/Delete

  • cmd/↑ to delete block.

For trackpads and touchscreens;

  • pinch/inwards to delete a block.
block-delete.mp4

Block/Insert Before

  • cmd/← to insert a new block before the selected block.
block-insert-before.mp4

Block/Insert After

  • cmd/→ to insert a new block before the selected block.
block-insert-after.mp4

Block/Lock

  • cmd/shift/← to lock the selected block.
block-lock.mp4

Block/Edit as HTML

  • cmd/shift/→ to edit the selected block as HTML.
block-edit-as-html.mp4

Follow along

Follow along for more block editor experiments.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-18