WordPress/wp-includes/blocks/legacy-widget/block.json
noisysocks 8775b69cd0 Adds the widgets block editor to widgets.php and customize.php
Moves the widgets block editor from Gutenberg into WordPress Core.

- Adds @wordpress/edit-widgets, @wordpress/customize-widgets and
  @wordpress/widgets.
- Modifies wp-admin/widgets.php to branch between the old editor and new editor
  depending on wp_use_widgets_block_editor().
- Modifies WP_Customize_Widgets to branch between the old editor control and new
  editor control depending on wp_use_widgets_block_editor().

Follows [50996] which was missing these files.
See #51506.
Props isabel_brison, TimothyBlynJacobs, andraganescu, kevin940726, talldanwp.

Built from https://develop.svn.wordpress.org/trunk@50997


git-svn-id: http://core.svn.wordpress.org/trunk@50606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-25 08:52:58 +00:00

29 lines
501 B
JSON

{
"apiVersion": 2,
"name": "core/legacy-widget",
"title": "Legacy Widget",
"category": "widgets",
"description": "Display a legacy widget.",
"textdomain": "default",
"attributes": {
"id": {
"type": "string",
"default": null
},
"idBase": {
"type": "string",
"default": null
},
"instance": {
"type": "object",
"default": null
}
},
"supports": {
"html": false,
"customClassName": false,
"reusable": false
},
"editorStyle": "wp-block-legacy-widget-editor"
}