import { useBlockProps, RichText, InnerBlocks } from "@wordpress/block-editor"; export default function save({ attributes }) { let { hasTitle, blockTitle, blockSubtitle, hasStepPictures, lateralPicturesFormat, hasStepIcons, hasLateralCover, lateralCoverUrl, lateralCoverAlt, lateralCoverCaption, lateralCoverDescription, } = attributes; return (
{hasTitle && (
)}
{hasLateralCover && lateralCoverUrl && (
{lateralCoverAlt} {(lateralCoverDescription || lateralCoverCaption) && (
{lateralCoverDescription && (

{lateralCoverDescription}

)} {lateralCoverCaption && (

{lateralCoverCaption}

)}
)}
)}
); }