FEATURE Adding CTA and CTA group blocks to chapter section editor
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-12-04 16:59:28 +01:00
parent 7a1d6087e7
commit f049f853f0
2 changed files with 3 additions and 2 deletions

View File

@ -336,8 +336,9 @@ export default function Edit({ attributes, setAttributes, ...props }) {
"core/list", "core/list",
"core/button", "core/button",
"core/buttons", "core/buttons",
"carhop-blocks/cta",
"carhop-blocks/heading", "carhop-blocks/heading",
"carhop-blocks/cta",
"carhop-blocks/cta-group",
]} ]}
/> />
</div> </div>

View File

@ -30,7 +30,7 @@ export default function save({ attributes }) {
${ ${
hasLightBackground hasLightBackground
? "chapter-section--bg-light" ? "chapter-section--bg-light"
: "chapter-section--bg-dark" : " "
}`, }`,
style: { style: {
"--chapter-section-text-color": textColor ? textColor : "#136f63", "--chapter-section-text-color": textColor ? textColor : "#136f63",