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 22, 2024
1 parent 4fb308f commit 6fa2a0f
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 @@ -129,7 +129,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 @@ -87,7 +87,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 @@ -112,7 +112,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 6fa2a0f

Please sign in to comment.