import { useBlockProps, RichText, InnerBlocks } from "@wordpress/block-editor"; export default function save({ attributes }) { const { hasLightBackground, disposition, coverUrl, coverAlt, coverSize, coverType, backgroundColor, hasBackgroundColor, backgroundOrientation, blockWidth, textColor, shapeType, } = attributes; return (
{hasBackgroundColor && backgroundColor && shapeType === "variationA" && ( <> )} {hasBackgroundColor && backgroundColor && shapeType === "variationB" && ( <> )}
{coverUrl && ( {coverAlt} )}
); }