Skip to content

Commit ffc8c46

Browse files
Merge d69d1fc into de05f47
2 parents de05f47 + d69d1fc commit ffc8c46

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎docs/reference-guides/core-blocks/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ Help visitors find your content.
877877

878878
- **Name:** [core/search](https://developer.wordpress.org/block-editor/reference-guides/core-blocks/core-blocks-widgets/core-block-search/)
879879
- **Category:** [widgets](https://developer.wordpress.org/block-editor/reference-guides/core-blocks/core-blocks-widgets/)
880-
- **Supports:** align (center, left, right), anchor, color (background, gradients, text), interactivity, spacing (margin), typography (fontSize, lineHeight), ~~html~~
880+
- **Supports:** align (center, left, right), anchor, color (background, gradients, text), interactivity, spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
881881
- **Attributes:** buttonPosition, buttonText, buttonUseIcon, label, placeholder, query, showLabel, tagName, width, widthUnit
882882

883883
## Separator

‎packages/block-library/src/search/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ _Defined via the [`supports`](https://developer.wordpress.org/block-editor/refer
4040
- [`lineHeight`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#typography-lineheight): `true`
4141
- [`spacing`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#spacing):
4242
- `margin`: `true`
43+
- `padding`: `true`
4344
- [`html`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#html): `false`
4445

4546
## CSS Selectors

‎packages/block-library/src/search/block.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@
8787
}
8888
},
8989
"spacing": {
90-
"margin": true
90+
"margin": true,
91+
"padding": true
9192
},
9293
"html": false
9394
},

0 commit comments

Comments
 (0)