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":617290,"date":"2026-11-15T11:02:59","date_gmt":"2026-11-15T11:02:59","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=617290"},"modified":"2026-11-15T11:03:01","modified_gmt":"2026-11-15T11:03:01","slug":"bonusy-wyjawszy-depozytu-slot-online-montezuma-kasyna-najlepsze-propozycje-2026-darmowe","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=617290","title":{"rendered":"Bonusy wyj\u0105wszy Depozytu Slot Online montezuma Kasyna Najlepsze Propozycje 2026 Darmowe"},"content":{"rendered":"
\n

Content<\/p>\n