Skip to content

Commit

Permalink
Update block categories for form, form-input, form-submission-notific…
Browse files Browse the repository at this point in the history
…ation, and form-submit-button
  • Loading branch information
amitraj2203 committed May 23, 2024
1 parent 5fbeee2 commit 7522dd8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ A form. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/blo

- **Name:** core/form
- **Experimental:** true
- **Category:** common
- **Category:** design
- **Allowed Blocks:** core/paragraph, core/heading, core/form-input, core/form-submit-button, core/form-submission-notification, core/group, core/columns
- **Supports:** anchor, color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~className~~
- **Attributes:** action, email, method, submissionMethod
Expand All @@ -300,7 +300,7 @@ The basic building block for forms. ([Source](https://github.com/WordPress/guten

- **Name:** core/form-input
- **Experimental:** true
- **Category:** common
- **Category:** design
- **Ancestor:** core/form
- **Supports:** anchor, spacing (margin), ~~reusable~~
- **Attributes:** inlineLabel, label, name, placeholder, required, type, value, visibilityPermissions
Expand All @@ -311,7 +311,7 @@ Provide a notification message after the form has been submitted. ([Source](http

- **Name:** core/form-submission-notification
- **Experimental:** true
- **Category:** common
- **Category:** design
- **Ancestor:** core/form
- **Attributes:** type

Expand All @@ -321,7 +321,7 @@ A submission button for forms. ([Source](https://github.com/WordPress/gutenberg/

- **Name:** core/form-submit-button
- **Experimental:** true
- **Category:** common
- **Category:** design
- **Ancestor:** core/form
- **Allowed Blocks:** core/buttons, core/button

Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/form-input/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"__experimental": true,
"name": "core/form-input",
"title": "Input Field",
"category": "common",
"category": "design",
"ancestor": [ "core/form" ],
"description": "The basic building block for forms.",
"keywords": [ "input", "form" ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"__experimental": true,
"name": "core/form-submission-notification",
"title": "Form Submission Notification",
"category": "common",
"category": "design",
"ancestor": [ "core/form" ],
"description": "Provide a notification message after the form has been submitted.",
"keywords": [ "form", "feedback", "notification", "message" ],
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/form-submit-button/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"__experimental": true,
"name": "core/form-submit-button",
"title": "Form Submit Button",
"category": "common",
"category": "design",
"icon": "button",
"ancestor": [ "core/form" ],
"allowedBlocks": [ "core/buttons", "core/button" ],
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/form/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"__experimental": true,
"name": "core/form",
"title": "Form",
"category": "common",
"category": "design",
"allowedBlocks": [
"core/paragraph",
"core/heading",
Expand Down

0 comments on commit 7522dd8

Please sign in to comment.