🐞 fix: Remove ACF color picker and add gradient background support
Sync TODOs with Issues / sync_todos (push) Successful in 5s

This commit is contained in:
Keith Solomon
2026-06-13 11:12:13 -05:00
parent 3894dd0a3b
commit 94ca7e667e
3 changed files with 591 additions and 564 deletions
File diff suppressed because it is too large Load Diff
+33 -25
View File
@@ -1,27 +1,35 @@
{ {
"name": "acf/section", "name": "acf/section",
"title": "Section", "apiVersion": 3,
"description": "Content section", "title": "Section",
"style": [ "description": "Content section",
"file:./section.css" "style": [
], "file:./section.css"
"category": "vdi-blocks", ],
"icon": "align-wide", "category": "vdi-blocks",
"keywords": [ "icon": "align-wide",
"setion", "keywords": [
"content" "setion",
], "content"
"acf": { ],
"mode": "preview", "acf": {
"renderTemplate": "section.php" "blockVersion": 3,
}, "mode": "preview",
"supports": { "renderTemplate": "section.php"
"align": true, },
"anchor": true, "supports": {
"color": true, "align": true,
"html": true, "anchor": true,
"jsx": true, "color": {
"mode": true, "background": true,
"multiple": true "gradients": true,
} "__experimentalDefaultControls": {
"background": true
}
},
"html": false,
"jsx": true,
"mode": true,
"multiple": true
}
} }
+1 -1
View File
@@ -20,7 +20,7 @@ $ovlImage = get_field( 'overlay_image' );
$ovlOpacity = get_field( 'overlay_opacity' ) ? get_field( 'overlay_opacity' ) / 100 : 1; $ovlOpacity = get_field( 'overlay_opacity' ) ? get_field( 'overlay_opacity' ) / 100 : 1;
// Set classes // Set classes
$classes = 'section'; $classes = 'section relative';
if ( $contentWidth === 'full' ) { if ( $contentWidth === 'full' ) {
$classes .= ' mx-break-out'; $classes .= ' mx-break-out';