From 43e0b21452e596dfee279581e281aa552c303b06 Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Sat, 6 Jun 2020 19:07:42 +0200 Subject: [PATCH] Create Block: Revert changes to the list of categories in the prompt Related issue: https://github.com/WordPress/gutenberg/issues/22848 It ensures that blocks will continue to work with WordPress 5.4.x. We should be able to use the new set of categories once WordPress 5.5 is out. --- packages/create-block/lib/prompts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-block/lib/prompts.js b/packages/create-block/lib/prompts.js index 5c6d47ea46aa13..5624f984f8292a 100644 --- a/packages/create-block/lib/prompts.js +++ b/packages/create-block/lib/prompts.js @@ -70,7 +70,7 @@ const category = { type: 'list', name: 'category', message: 'The category name to help users browse and discover your block:', - choices: [ 'text', 'embed', 'media', 'design', 'widgets' ], + choices: [ 'common', 'embed', 'formatting', 'layout', 'widgets' ], }; const author = {