Skip to content

Commit

Permalink
wip: Enable box shadow support
Browse files Browse the repository at this point in the history
Depends on: #57654
This PR adds box shadow support to the following blocks:

- [ ] Columns
- [ ] Cover
- [ ] Group
- [ ] Image

Issue: #57103
  • Loading branch information
vcanales committed Jan 29, 2024
1 parent 8585de2 commit 1dd6ef0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/block-library/src/columns/block.json
Expand Up @@ -78,7 +78,8 @@
"__experimentalDefaultControls": {
"fontSize": true
}
}
},
"shadow": true
},
"editorStyle": "wp-block-columns-editor",
"style": "wp-block-columns"
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/cover/block.json
Expand Up @@ -132,7 +132,8 @@
},
"layout": {
"allowJustification": false
}
},
"shadow": true
},
"editorStyle": "wp-block-cover-editor",
"style": "wp-block-cover"
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/group/block.json
Expand Up @@ -88,7 +88,8 @@
},
"layout": {
"allowSizingOnChildren": true
}
},
"shadow": true
},
"editorStyle": "wp-block-group-editor",
"style": "wp-block-group"
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/image/block.json
Expand Up @@ -117,7 +117,8 @@
"radius": true,
"width": true
}
}
},
"shadow": true
},
"selectors": {
"border": ".wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder",
Expand Down

0 comments on commit 1dd6ef0

Please sign in to comment.