[wp-trac] [WordPress Trac] #50278: Editor: Update default block categories

WordPress Trac noreply at wordpress.org
Fri May 29 13:33:23 UTC 2020


#50278: Editor: Update default block categories
-------------------------+-----------------------
 Reporter:  aduth        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  5.5
Component:  Editor       |    Version:
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------
 Related: https://github.com/WordPress/gutenberg/pull/19279

 **Background:**

 In [https://github.com/WordPress/gutenberg/pull/19279 GB#19279] (issue
 [https://github.com/WordPress/gutenberg/issues/11406 GB11406]), the
 default set of block categories was updated.

 The new set of block categories are:

 - Text
 - Media
 - Design
 - Widgets
 - Embeds
 - Reusable

 Of the above, a few have remained unchanged: Widgets, Embeds, Reusable.

 Mappings have been added to ensure that existing blocks will be assigned
 to as close as possible to an equivalent category in the new set:

 - Common → Text
 - Formatting → Text
 - Layout → Design

 **Task:**

 The default set of block categories implemented in Core PHP should be
 updated to correspond to these revisions.

 This array:

 https://github.com/WordPress/wordpress-develop/blob/5.4.1/src/wp-
 admin/includes/post.php#L2167-L2196

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50278>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list