import { useBlockProps, MediaPlaceholder, RichText, BlockControls, MediaReplaceFlow, } from "@wordpress/block-editor"; import { __ } from "@wordpress/i18n"; import chevronDown from "./img/chevron_down.svg"; import { Camera } from "lucide-react"; import { InnerBlocks } from "@wordpress/block-editor"; export default function save({ attributes }) { const { coverUrl, coverId, coverAlt, focusBullets } = attributes; const renderedFocusPointBullets = focusBullets.map((focusBullet, index) => { return (
{index + 1}
); }); return (
{coverUrl && (
{coverAlt} {renderedFocusPointBullets}
)}
); }