From 4171f3ffe86ae53d555b3b47f8db2d7757c532b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Zi=C3=B3=C5=82kowski?= Date: Thu, 7 Jan 2021 10:30:33 +0100 Subject: [PATCH] Create Block: Updated the demo included in the README file (#28037) Closes #27602. --- packages/create-block/CHANGELOG.md | 4 ++++ packages/create-block/README.md | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/create-block/CHANGELOG.md b/packages/create-block/CHANGELOG.md index c36ef5c76ed86..df31a83cbbfa0 100644 --- a/packages/create-block/CHANGELOG.md +++ b/packages/create-block/CHANGELOG.md @@ -6,6 +6,10 @@ - Increase the minimum Node.js version to 12 ([#27934](https://github.com/WordPress/gutenberg/pull/27934)). +### Internal + +- Update the demo included in the README file ([#28037](https://github.com/WordPress/gutenberg/pull/28037)). + ## 1.1.0 (2021-01-05) ### New Feature diff --git a/packages/create-block/README.md b/packages/create-block/README.md index 97fce82d45402..09160d8268959 100644 --- a/packages/create-block/README.md +++ b/packages/create-block/README.md @@ -12,8 +12,6 @@ Visit the [Gutenberg handbook](https://developer.wordpress.org/block-editor/deve ## Quick start -![Demo](https://make.wordpress.org/core/files/2020/02/74508276-f0648280-4efe-11ea-9cc0-a607b43d1bcf.gif) - You just need to provide the `slug` which is the target location for scaffolded files and the internal block name. ```bash @@ -34,6 +32,8 @@ The following command generates PHP, JS and CSS code for registering a block. $ npx @wordpress/create-block [options] [slug] ``` +![Demo](https://user-images.githubusercontent.com/699132/103872910-4de15f00-50cf-11eb-8c74-67ca91a8c1a4.gif) + `[slug]` is optional. When provided it triggers the quick mode where it is used as the block slug used for its identification, the output location for scaffolded files, and the name of the WordPress plugin. The rest of the configuration is set to all default values unless overridden with some of the options listed below. Options: