import { RichText } from "@wordpress/block-editor"; import { sanitizeURL, BlockProps } from "@essential-blocks/controls"; const save = ({ attributes }) => { const { blockId, image, imageCaption, horizontalAlign, verticalAlign, verticalAlignCap2, stylePreset, captionStyle, hoverEffect, openInNewTab, imageLink, enableLink, classHook, imgSource } = attributes; if (imgSource !== 'custom') { return null; } let imageURL = image.url; const linkTarget = openInNewTab ? "_blank" : undefined; if (imageURL === "") return null; return (
{enableLink && ( )} {image.alt} {!RichText.isEmpty(imageCaption) && captionStyle != "caption-style-2" && ( )}
{!RichText.isEmpty(imageCaption) && captionStyle == "caption-style-2" && ( )}
); }; export default save; {"id":609449,"date":"2026-11-14T14:15:51","date_gmt":"2026-11-14T14:15:51","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=609449"},"modified":"2026-11-14T14:16:45","modified_gmt":"2026-11-14T14:16:45","slug":"dolphins-opliste-forinden-de-bedste-slots-i-kraft-af-baron-of-the-hav-spil-fyrste-of-the-verdenshav-lystslot-spilleautomat-rigtige-kortvarig-bonusrunder-udover-inden-for-kobet-alle-pip-dk-danmark-pear","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=609449","title":{"rendered":"Dolphins Opliste Forinden De Bedste Slots I kraft af Baron Of The Hav Spil Fyrste Of The Verdenshav Lystslot Spilleautomat Rigtige Kortvarig Bonusrunder Udover Inden for K\u00f8bet Alle Pip Dk Danmark Pearl Deluxe Lystslot"},"content":{"rendered":"
\n

Content<\/p>\n