-
-
+ {blockVariant === "backgrounded" &&
+ backgroundColor &&
+ shapeType === "variationA" && (
+
+ )}
+ {blockVariant === "backgrounded" &&
+ backgroundColor &&
+ shapeType === "variationB" && (
+
+ )}
+ {blockVariant === "framed" &&
+ backgroundColor &&
+ shapeType === "variationA" && (
+
+ )}
+ {blockVariant === "framed" &&
+ backgroundColor &&
+ shapeType === "variationB" && (
+
+ )}
+
+
+
+ "core/list",
+ "core/file",
+ "core/button",
+ "core/buttons",
+ "carhop-blocks/heading",
+ "carhop-blocks/cta",
+ "carhop-blocks/cta-group",
+ ]}
+ />
+
+ {coverUrl && (
+
+ )}
+ {!coverUrl && (
+
+ )}
- {coverUrl && (
-

- )}
- {!coverUrl && (
-
- )}
>
);
diff --git a/plugins/carhop-blocks/src/chapter-section/save.js b/plugins/carhop-blocks/src/chapter-section/save.js
index 4c45bb9..df3248a 100644
--- a/plugins/carhop-blocks/src/chapter-section/save.js
+++ b/plugins/carhop-blocks/src/chapter-section/save.js
@@ -10,7 +10,6 @@ export default function save({ attributes }) {
coverSize,
coverType,
backgroundColor,
- blockWidth,
textColor,
shapeType,
blockVariant,
@@ -21,12 +20,6 @@ export default function save({ attributes }) {
- {blockVariant === "backgrounded" &&
- backgroundColor &&
- shapeType === "variationA" && (
-
- )}
- {blockVariant === "backgrounded" &&
- backgroundColor &&
- shapeType === "variationB" && (
-
- )}
- {blockVariant === "framed" &&
- backgroundColor &&
- shapeType === "variationA" && (
-
- )}
- {blockVariant === "framed" &&
- backgroundColor &&
- shapeType === "variationB" && (
-
- )}
+
+ {blockVariant === "backgrounded" &&
+ backgroundColor &&
+ shapeType === "variationA" && (
+
+ )}
+ {blockVariant === "backgrounded" &&
+ backgroundColor &&
+ shapeType === "variationB" && (
+
+ )}
+ {blockVariant === "framed" &&
+ backgroundColor &&
+ shapeType === "variationA" && (
+
+ )}
+ {blockVariant === "framed" &&
+ backgroundColor &&
+ shapeType === "variationB" && (
+
+ )}
-
-
-
+
+ {coverUrl && (
+

+ )}
- {coverUrl && (
-

- )}
);
}