FEATURE Adding CTA and CTA group blocks to chapter section editor
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7a1d6087e7
commit
f049f853f0
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user