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":159473,"date":"2026-09-11T16:55:18","date_gmt":"2026-09-11T15:55:18","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=159473"},"modified":"2026-09-11T16:55:25","modified_gmt":"2026-09-11T15:55:25","slug":"casinospiele-de-qua-1-600-50-kostenlose-spins-keine-einzahlung-diamonds-casino-spiele-kostenlos","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=159473","title":{"rendered":"CasinoSpiele de >>> Qua 1.600 50 kostenlose Spins keine Einzahlung Diamonds Casino Spiele kostenlos"},"content":{"rendered":"
\n

Content<\/p>\n