),
- foreground: "#723d46",
+ foreground: "#136f63",
},
edit: Edit,
save,
diff --git a/plugins/carhop-blocks/blocks/chapter-section/src/save.js b/plugins/carhop-blocks/blocks/chapter-section/src/save.js
index cec6361..3fb4391 100644
--- a/plugins/carhop-blocks/blocks/chapter-section/src/save.js
+++ b/plugins/carhop-blocks/blocks/chapter-section/src/save.js
@@ -1,12 +1,36 @@
import { useBlockProps, RichText, InnerBlocks } from "@wordpress/block-editor";
export default function save({ attributes }) {
- const { disposition, coverUrl, coverAlt, coverSize } = attributes;
+ const {
+ disposition,
+ coverUrl,
+ coverAlt,
+ coverSize,
+ backgroundColor,
+ hasBackgroundColor,
+ backgroundOrientation,
+ } = attributes;
return (
+ {hasBackgroundColor && backgroundColor && (
+
+ )}